forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Package-Manager: portage-2.2.26 Signed-off-by: Justin Lecher <[email protected]>
- Loading branch information
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
DIST decorator-4.0.2.tar.gz 64850 SHA256 1a089279d5de2471c47624d4463f2e5b3fc6a2cf65045c39bf714fc461a25206 SHA512 9f135c9c624557a90619e46002f12d54f8c53045420f524bbc52dee0b488268501467b207ea8f4445a8aa7d119af3e615cd76cbc25c1d1335d3bb581a1045ab3 WHIRLPOOL 1a4a31fe67d4cdfc58cb5486f83ee059a9211af5c5e48d57c9b22a24e08e5659a2e8b4519ecaba68fa603ef6e5a0756f69ee10fbe173d07ffe23204b579f2f18 | ||
DIST decorator-4.0.4.tar.gz 67150 SHA256 5ad0c10fad31648cffa15ee0640eee04bbb1b843a02de26ad3700740768cc3e1 SHA512 2c59091c41afdebd76ce0057a7183a969cd6cdadae5839d2ea5773814d435ab6f528acd6fccb02074ae23382e26fe73f8dab2b0b4c523de99b43d666292a23cf WHIRLPOOL e6ed224735839bc8232a6c94b674c1ecd4fb5558414219a54d56bc77536c467558ad8c5209c839622b590129136dfc33fa53ae85cc6b102c6e94b03fe2ed0285 | ||
DIST decorator-4.0.6.tar.gz 68855 SHA256 1c6254597777fd003da2e8fb503c3dbf3d9e8f8d55f054709c0e65be3467209c SHA512 fc6c7e8c48d51eaf633c4326c2d8a544f28f19da4e704e8dac30bf3f0068223fb719ad264813568056b3c851d00b7b09834f48efa1dbb56253f075226cfa6b65 WHIRLPOOL 89293e839dc6e74e2cc154a212517a7ff17c397698e62b5259a5d5f2525f1eea413c8d35880794a79a680f218f33f90b2d36e92a117cfcdcf66c83cce3f32259 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Copyright 1999-2015 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
EAPI=5 | ||
|
||
PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) | ||
|
||
inherit distutils-r1 | ||
|
||
DESCRIPTION="Simplifies the usage of decorators for the average programmer" | ||
HOMEPAGE="https://pypi.python.org/pypi/decorator https://github.com/micheles/decorator" | ||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" | ||
|
||
LICENSE="BSD" | ||
SLOT="0" | ||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" | ||
IUSE="doc" | ||
|
||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" | ||
|
||
DOCS=( docs/README.rst ) | ||
|
||
python_test() { | ||
"${PYTHON}" src/tests/test.py || die "Tests fail with ${EPYTHON}" | ||
} | ||
|
||
python_install_all() { | ||
use doc && dodoc documentation.pdf | ||
distutils-r1_python_install_all | ||
} |