diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-10-12 21:40:05 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-10-12 21:42:14 +0200 |
commit | 375ab4e3a412cae8eed982e2c4e41b69381c1a21 (patch) | |
tree | 376060ca6a4d1e9297be395ece6c25f5be6fc0a1 /dev-python/pastedeploy | |
parent | dev-python/paste: Bump to 3.5.0 (diff) | |
download | gentoo-375ab4e3a412cae8eed982e2c4e41b69381c1a21.tar.gz gentoo-375ab4e3a412cae8eed982e2c4e41b69381c1a21.tar.bz2 gentoo-375ab4e3a412cae8eed982e2c4e41b69381c1a21.zip |
dev-python/pastedeploy: Bump to 2.1.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pastedeploy')
-rw-r--r-- | dev-python/pastedeploy/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pastedeploy/pastedeploy-2.1.1.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/pastedeploy/Manifest b/dev-python/pastedeploy/Manifest index b77b5542c95c..8c886f14f1dc 100644 --- a/dev-python/pastedeploy/Manifest +++ b/dev-python/pastedeploy/Manifest @@ -1 +1,2 @@ DIST pastedeploy-2.1.0.tar.gz 32240 BLAKE2B 1672e3b48a287f57e9e7fca082e4cd07cea770db1c2ae0012a83dc8ec927d83bf94461a69c7afdbed082c72506eb46c0c5db15e5f0bc24ad7a4212efb9f6696e SHA512 2c639b5ad07faee013ff3fe37d0e3c6ca7b56ed0960dbcaf133c05d51a7f29d6a2f35118bd8faea4d9aca90438c43d8046a340833878e4b925f32142df169c97 +DIST pastedeploy-2.1.1.tar.gz 32339 BLAKE2B d11affa480e5c9b7be53d0431090e4ec9d66f8862b1aadf6a993a09f9c952380d7698eaa7442614936a8316e2ac50404a096bf64bb3ef31f55cbee35b5982166 SHA512 0109e30cb5ae9bdd7f06a79f6236c90f96c3bcfe507258572b1329796a1821486d9762d954673ccbac76ee63c6a69e64fe5e2cae5402fecf4a5affe88cf46930 diff --git a/dev-python/pastedeploy/pastedeploy-2.1.1.ebuild b/dev-python/pastedeploy/pastedeploy-2.1.1.ebuild new file mode 100644 index 000000000000..0096412f88fe --- /dev/null +++ b/dev-python/pastedeploy/pastedeploy-2.1.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 ) + +inherit distutils-r1 + +MY_PN="PasteDeploy" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Load, configure, and compose WSGI applications and servers" +HOMEPAGE="https://pypi.org/project/PasteDeploy/" +# pypi tarball does not include tests +SRC_URI="https://github.com/Pylons/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-solaris" +IUSE="doc" + +RDEPEND="dev-python/namespace-paste[${PYTHON_USEDEP}]" +BDEPEND="${RDEPEND}" + +distutils_enable_tests pytest + +python_prepare_all() { + sed -i 's:"pytest-runner"::' setup.py || die + + distutils-r1_python_prepare_all +} + +python_install_all() { + distutils-r1_python_install_all + + use doc && dodoc docs/*.txt + find "${D}" -name '*.pth' -delete || die +} |