diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-05-17 08:55:53 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-05-17 09:03:03 +0200 |
commit | a24df88bcb9e88cf4631a44b43d6924cf01b0381 (patch) | |
tree | 1629c7106412446ab3deaf8e9475e0c3558bcf5b /dev-python/webob/webob-1.8.7-r1.ebuild | |
parent | media-video/mpv: Stabilize 0.34.1-r1 ppc, #843758 (diff) | |
download | gentoo-a24df88bcb9e88cf4631a44b43d6924cf01b0381.tar.gz gentoo-a24df88bcb9e88cf4631a44b43d6924cf01b0381.tar.bz2 gentoo-a24df88bcb9e88cf4631a44b43d6924cf01b0381.zip |
dev-python/webob: Use PEP517 build
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/webob/webob-1.8.7-r1.ebuild')
-rw-r--r-- | dev-python/webob/webob-1.8.7-r1.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/dev-python/webob/webob-1.8.7-r1.ebuild b/dev-python/webob/webob-1.8.7-r1.ebuild new file mode 100644 index 000000000000..88698405f304 --- /dev/null +++ b/dev-python/webob/webob-1.8.7-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{8..10} ) + +inherit distutils-r1 + +MY_PN=WebOb +MY_P=${MY_PN}-${PV} + +DESCRIPTION="WSGI request and response object" +HOMEPAGE=" + https://webob.org/ + https://github.com/Pylons/webob/ + https://pypi.org/project/WebOb/ +" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" + +distutils_enable_sphinx docs 'dev-python/alabaster' +distutils_enable_tests pytest + +src_prepare() { + # py3.9 + sed -i -e 's:isAlive:is_alive:' tests/conftest.py || die + distutils-r1_src_prepare +} |