diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-11-21 17:52:14 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-11-21 20:04:57 +0100 |
commit | 0b072dbbe864d14e23c39dcf7e12c55c7cd20c9a (patch) | |
tree | a936f4c62b31e2cb33ffd8c138f2123815468acd /dev-python/pastedeploy | |
parent | dev-python/exceptiongroup: Bump to 1.2.0 (diff) | |
download | gentoo-0b072dbbe864d14e23c39dcf7e12c55c7cd20c9a.tar.gz gentoo-0b072dbbe864d14e23c39dcf7e12c55c7cd20c9a.tar.bz2 gentoo-0b072dbbe864d14e23c39dcf7e12c55c7cd20c9a.zip |
dev-python/pastedeploy: Bump to 3.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-3.1.ebuild | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/pastedeploy/Manifest b/dev-python/pastedeploy/Manifest index 13af0bc6a3ef..25f7adf17e69 100644 --- a/dev-python/pastedeploy/Manifest +++ b/dev-python/pastedeploy/Manifest @@ -1 +1,2 @@ DIST pastedeploy-3.0.1.gh.tar.gz 33420 BLAKE2B d96e9429852ce2f6b82aac834c3a1da069f02d542f7379935e42a9e663cdee807230bbede3acc03fb5cccc3b4462d3f3afaa84eec09225bbaffe6ece4534f3fe SHA512 2b06351b9104da1e0d30c90492ee31113aacf5cde7a66a34482c4625af902b855eab2af80073db4eb18805a192f858dac360062dadf58a161cc3cfabf5b67a1a +DIST pastedeploy-3.1.gh.tar.gz 33634 BLAKE2B 11087275f0c0f73b44ecc4bdcd6c284534d81056ce2dc898b8a891261b2ec71502679a688e2183adc4572089846d2c06fe5b48648f78ea6667f29e142b656656 SHA512 da13c8181d1f003bf61f954655a1876f49253954c320c6a2db0ca2b92acf057e48dff97376da2f9dce6181e5349ffa2d8cddbf71d3360d6c0fa8d5dedbbb2ae3 diff --git a/dev-python/pastedeploy/pastedeploy-3.1.ebuild b/dev-python/pastedeploy/pastedeploy-3.1.ebuild new file mode 100644 index 000000000000..cdac4e2a2abb --- /dev/null +++ b/dev-python/pastedeploy/pastedeploy-3.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 + +MY_PN="PasteDeploy" +MY_P="${MY_PN}-${PV}" +DESCRIPTION="Load, configure, and compose WSGI applications and servers" +HOMEPAGE=" + https://github.com/Pylons/pastedeploy/ + https://pypi.org/project/PasteDeploy/ +" +SRC_URI=" + https://github.com/Pylons/pastedeploy/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" + +RDEPEND=" + !dev-python/namespace-paste +" + +distutils_enable_tests pytest + +src_prepare() { + sed -i -e 's:--cov::' pytest.ini || die + distutils-r1_src_prepare +} + +python_compile() { + distutils-r1_python_compile + find "${BUILD_DIR}" -name '*.pth' -delete || die +} |