diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2022-07-29 23:19:56 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2022-07-29 23:22:14 +0300 |
commit | 2a0370763c812adcdb0a918d718e2f2353b3ec22 (patch) | |
tree | 726d3b84aecf075af87ad4d99f53a642501ed610 /dev-python/snakeoil | |
parent | dev-util/ccls: Version bump to 0.20220729 (diff) | |
download | gentoo-2a0370763c812adcdb0a918d718e2f2353b3ec22.tar.gz gentoo-2a0370763c812adcdb0a918d718e2f2353b3ec22.tar.bz2 gentoo-2a0370763c812adcdb0a918d718e2f2353b3ec22.zip |
dev-python/snakeoil: add 0.9.11, Use PEP517
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/snakeoil')
-rw-r--r-- | dev-python/snakeoil/Manifest | 1 | ||||
-rw-r--r-- | dev-python/snakeoil/snakeoil-0.9.11.ebuild | 31 | ||||
-rw-r--r-- | dev-python/snakeoil/snakeoil-9999.ebuild | 8 |
3 files changed, 36 insertions, 4 deletions
diff --git a/dev-python/snakeoil/Manifest b/dev-python/snakeoil/Manifest index 09d6616a707e..95465c6ee744 100644 --- a/dev-python/snakeoil/Manifest +++ b/dev-python/snakeoil/Manifest @@ -1,4 +1,5 @@ DIST snakeoil-0.9.10.tar.gz 264409 BLAKE2B ef4cff92b1110f3b0912a2899732a29de041ea0e1d5338bbee9b84cbd1e9b4231b66be8fbf98bb14e59360294de9652b816b1de904dc948a3ebcd3e429bd03ba SHA512 dfdf3c96a9e65d6353e9251bb4c9c761d9c6084185119f7e653efc27868e5dd41ece0c54307e306d14effd9c2fcfd3ec15407df3f15f2d4ecfe16ae00c6d7e00 +DIST snakeoil-0.9.11.tar.gz 266004 BLAKE2B c919f21737f91a26a77ed6ea5da490fe48ffe9b8077e8f144ea5d8feb268ab9ab62ca3c7b515d70a0eb270bd7cf1c7a5be827ddd34e97fb3e231f3caa2a32b65 SHA512 34fe8fd0a1215e5e1fe53bf002cbc262fb77e58df4a713d5413c91eeb16b93708f476f6cd08908102857901ffab7dd46349a721312671bc175b7d7991687d319 DIST snakeoil-0.9.5.tar.gz 266086 BLAKE2B 635d2d821e47a92a668b2e95364d6587f0f74c21438356e708d6b16ed6c027df39a28f73d261d8ae06eb32de471124cd5ba5df0fc899f59dad5f7d2363391e00 SHA512 0762d90932bdf995160b3410e224660dae2cce327cdc30d5093ca9e3d16d3e910f88e409a87d2d7da211b850f7d0b7d9c70f053462dd9a651e4202b8ca018105 DIST snakeoil-0.9.7.tar.gz 261551 BLAKE2B 6739541d1e40b3ac5c4908e6bb92b5b40957f49119307d6046fd17327394ae0406c01dc10396cb568ceb3757ba3367b930441d08079e9be635eeb6f14bd02e3a SHA512 c2626d8050bf24b4ce3f6fed5c6b8993fa9a5ebb40dd664c7008caffe4b26237edeecd3de8fe90f3a1c5756de3d770c3b9e1ef2e95cc052a5f8fcf22058925f6 DIST snakeoil-0.9.9.tar.gz 264344 BLAKE2B 160f45dad3a53371063c0c86c186a8baf6370751cf455d84f6e9b9334e6e6f0aa76962803daff031f050d5d8b05b85ebcb05a2b8b9e957babac6e01f127a722f SHA512 bada12556fd2c63fabc8340444f470e08c68ffe56612ae14f08f155c11bd1d4b9657a885cfdee7454faf758309f5287792adf2cf5bd7ab411c7fd6b4982f229e diff --git a/dev-python/snakeoil/snakeoil-0.9.11.ebuild b/dev-python/snakeoil/snakeoil-0.9.11.ebuild new file mode 100644 index 000000000000..428f2e82cc86 --- /dev/null +++ b/dev-python/snakeoil/snakeoil-0.9.11.ebuild @@ -0,0 +1,31 @@ +# 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..10} ) +PYTHON_REQ_USE="threads(+)" +inherit distutils-r1 + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="https://github.com/pkgcore/snakeoil.git" + inherit git-r3 +else + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +fi + +DESCRIPTION="misc common functionality and useful optimizations" +HOMEPAGE="https://github.com/pkgcore/snakeoil" + +LICENSE="BSD BSD-2 MIT" +SLOT="0" + +RDEPEND=" + dev-python/lazy-object-proxy[${PYTHON_USEDEP}] +" + +[[ ${PV} == 9999 ]] && BDEPEND+=" dev-python/cython[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest diff --git a/dev-python/snakeoil/snakeoil-9999.ebuild b/dev-python/snakeoil/snakeoil-9999.ebuild index 66ebcf075394..428f2e82cc86 100644 --- a/dev-python/snakeoil/snakeoil-9999.ebuild +++ b/dev-python/snakeoil/snakeoil-9999.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# 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..10} ) PYTHON_REQ_USE="threads(+)" inherit distutils-r1 @@ -22,9 +23,8 @@ LICENSE="BSD BSD-2 MIT" SLOT="0" RDEPEND=" - dev-python/lazy-object-proxy[${PYTHON_USEDEP}]" -BDEPEND=" - test? ( >=dev-python/pytest-6 )" + dev-python/lazy-object-proxy[${PYTHON_USEDEP}] +" [[ ${PV} == 9999 ]] && BDEPEND+=" dev-python/cython[${PYTHON_USEDEP}]" |