diff options
Diffstat (limited to 'dev-python/pastedeploy')
-rw-r--r-- | dev-python/pastedeploy/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pastedeploy/pastedeploy-3.0.1.ebuild | 41 |
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/pastedeploy/Manifest b/dev-python/pastedeploy/Manifest index c084c716d119..184e2e58a0ce 100644 --- a/dev-python/pastedeploy/Manifest +++ b/dev-python/pastedeploy/Manifest @@ -1,4 +1,6 @@ AUX pastedeploy-2.1.1-change-sphinx-theme.patch 752 BLAKE2B fc381dfb1ee909471b89413a8e5b8f68876cc66615776664e8eadbaf15833b36c9799139db15fe551c9cd7d50fe305e13d104d4a2dc1176eb7ba576b0cc7cc05 SHA512 479d0e34f2d86254855335874499eb5bff2151a2f08cd04f021976933441005062670487108374ec24084dd8ea7881cb69938c61fd7a28ded53a32bc0e5df972 DIST pastedeploy-2.1.1.tar.gz 32339 BLAKE2B d11affa480e5c9b7be53d0431090e4ec9d66f8862b1aadf6a993a09f9c952380d7698eaa7442614936a8316e2ac50404a096bf64bb3ef31f55cbee35b5982166 SHA512 0109e30cb5ae9bdd7f06a79f6236c90f96c3bcfe507258572b1329796a1821486d9762d954673ccbac76ee63c6a69e64fe5e2cae5402fecf4a5affe88cf46930 +DIST pastedeploy-3.0.1.gh.tar.gz 33420 BLAKE2B d96e9429852ce2f6b82aac834c3a1da069f02d542f7379935e42a9e663cdee807230bbede3acc03fb5cccc3b4462d3f3afaa84eec09225bbaffe6ece4534f3fe SHA512 2b06351b9104da1e0d30c90492ee31113aacf5cde7a66a34482c4625af902b855eab2af80073db4eb18805a192f858dac360062dadf58a161cc3cfabf5b67a1a EBUILD pastedeploy-2.1.1-r3.ebuild 992 BLAKE2B 71b2d8fb06be52e58f05f6d7a51926b934be953224fe68ba2aea95ae5defd82fab3cb0ca086f1b1e86a26ceb104467d97695689748fac670e0f4e6a46b69b43f SHA512 0d991ee7a060edc097b32184cca0cb7a017d2f0850f38d7ad685a4fe80235891895b5728f2968c2698d4dd7055c646cb553a7cf90f6cb62a6c6e129b4a9cf5c2 +EBUILD pastedeploy-3.0.1.ebuild 932 BLAKE2B 8e9c266d09bf744c3f188ee77aa8cbc4fa9af41cf4d20eb50e40255201e403307db871046d4610b687cf4a4efa5d2d4abf1455962b757ec77f1b2fb76db4736e SHA512 5cee38c8116a7ca9197aa47371ddccf8418666c2d55c1c3d7955acb5a8dd3abd2e77d037cda83d391472f4e84b3e9e7a6639ee27deceed662314d61ad732410e MISC metadata.xml 965 BLAKE2B afd902e013f9f3ffa27225cff2a97551875a2cc4a02d968c5366cbbccda0442ac8e381eb8d93655a7a5d6101c97f2e00b362657272ddef4123af57ee1173b045 SHA512 2ab7460b4b6baeedbb1a7c64a760914278f4af622a3e0fc9452fcfccb7274383a26b559f45f7eb11a1f4cf546d24b7582a0dd61f64198b8760d247b6b4a2cd16 diff --git a/dev-python/pastedeploy/pastedeploy-3.0.1.ebuild b/dev-python/pastedeploy/pastedeploy-3.0.1.ebuild new file mode 100644 index 000000000000..eb65cd769e0d --- /dev/null +++ b/dev-python/pastedeploy/pastedeploy-3.0.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} 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 ~x86-solaris" + +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 +} |