diff options
Diffstat (limited to 'dev-python/snakeoil')
-rw-r--r-- | dev-python/snakeoil/Manifest | 4 | ||||
-rw-r--r-- | dev-python/snakeoil/snakeoil-0.8.9.ebuild | 32 | ||||
-rw-r--r-- | dev-python/snakeoil/snakeoil-9999.ebuild | 4 |
3 files changed, 37 insertions, 3 deletions
diff --git a/dev-python/snakeoil/Manifest b/dev-python/snakeoil/Manifest index 3ce6813003ff..8d30d8788d21 100644 --- a/dev-python/snakeoil/Manifest +++ b/dev-python/snakeoil/Manifest @@ -1,5 +1,7 @@ AUX snakeoil-0.8.8-py39.patch 1243 BLAKE2B 30c096614e4a4023781a1ba0b5694e5c61521116f35d026b8138b48f03e29dd5d413433248fbb2922faed32e0de30bd0329032d666c73e8a0fbb073131d843b1 SHA512 2ccb78c26c8a4df1a757422122617087ea34873de48e94d43c980d86963a2ed3f2b7e71dcc03686a313eefb07bfdc4010763eec8aef38ce8cb5786495aed1522 DIST snakeoil-0.8.8.tar.gz 296519 BLAKE2B 5a5f6326d01874b46a5cb85f5370217f4f3dfd5743679280f1f59737567cd5d79deb945be847fd3cd47ff0ed67cc836d2a3e53c4aefbe8080da767f380295538 SHA512 ea1ff6ea45c9f5fc3bc539cc65031050093cc1fbdda869b7160b286dcf3233577ca297ab55ee3d7ee4253c5485f9e956e14ee2a97bfb88680811d1b8af6cd62d +DIST snakeoil-0.8.9.tar.gz 271205 BLAKE2B dcaf4d26b430a2e99481182aa912a884a0cf5943f65028f4da098ec1b0ab177a97aeb0743d90cade589eba598598eccd275b15379d281ad0dc0bf62badd24c55 SHA512 d80f4c5be5d97598a119bd29413df1960487e4af2532b33b03c17337d15d24b34c4e5617f0d5d40db973f009697de25ae8c5bf5e60c19409835b3e77b4ffb461 EBUILD snakeoil-0.8.8.ebuild 894 BLAKE2B 4c30ab784f3495a7e618ac0c0994fd24e336429144ca246459b441ed1d9b30b98dbf91f21f39fb7a85f3641f2c5c7ba160b3f57a121f3088ad03a311a3f38fbb SHA512 3b95671e781cb058e6459c13e3692bd79db88ad6e41fe50a9a16344412ce29cbf41a49142af1ede56edfa90a0376fa3b0f65ed478c1c320b422629009b69d6c8 -EBUILD snakeoil-9999.ebuild 848 BLAKE2B 2b3a44745fa6788b913fbc79c3719dff1e16f34f7e6957f9b5f36e31250fea527a40ff805e50f30afdf8e62b07a8757e8608de3fb9c43ff37d156f62d6a9e719 SHA512 c9e9898a6b3b1dc8f156a56dc90cd3930de84812dd22fa1ab76814065b9ea349522cec5387059ca3feadd0e468db15e39f44a1dc5d9a68685971ce17aba41ece +EBUILD snakeoil-0.8.9.ebuild 859 BLAKE2B 7b2a6e786a6dd9ff06c86ae36bfbb975ee3c2223dfe61c5fee4083d87470b651b93b80b0bb0ccd8b97a142394f59f8ac1addb78ab0d5b7e07b2f238607089a55 SHA512 ec7c85a1fbc16431e568de14c2b8ce50c0edb33af10a58dc4b0159f458646c4649e1a1134c749ab8af4cd2bc5a38462ce0a99777cb12e7526f099dbe14cebee8 +EBUILD snakeoil-9999.ebuild 859 BLAKE2B fe7edfc38fe2a93a85d88057c72396482efb7d074c2ffca8191dfd9168511221bcf73798ee271dbaf202783856745980b6d7ec0f046c02324861f529cd67dac5 SHA512 adb46897c51505c370ac5c81d0ed0ee7a645dbc5b60c9241a2ed449299073dbdb69661138216fa78402da46b5436f49b38fd836a389a526cdbf4032dde9a4e01 MISC metadata.xml 386 BLAKE2B f9bc5cb5f590209e7211fffa5ac87e106e636f871dec0b31a90c4aaed63cb9fd4bf4fe510a4f36676eb47028465a58d5088307aec6c2c5b000d370aca5437b68 SHA512 47ee140ad8c665e0541a71721eec7739913a93944a0be471287c0df7403d63757500b27d3ffb909590846991c69727ea95d960dc98e7887bea3b178bc4dd6047 diff --git a/dev-python/snakeoil/snakeoil-0.8.9.ebuild b/dev-python/snakeoil/snakeoil-0.8.9.ebuild new file mode 100644 index 000000000000..c9ce0b8837a5 --- /dev/null +++ b/dev-python/snakeoil/snakeoil-0.8.9.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python3_{6..9} ) +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" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/pytest[${PYTHON_USEDEP}] ) +" +[[ ${PV} == 9999 ]] && DEPEND+=" dev-python/cython[${PYTHON_USEDEP}]" + +python_test() { + esetup.py test +} diff --git a/dev-python/snakeoil/snakeoil-9999.ebuild b/dev-python/snakeoil/snakeoil-9999.ebuild index 68c9d1509604..0c98e3d18348 100644 --- a/dev-python/snakeoil/snakeoil-9999.ebuild +++ b/dev-python/snakeoil/snakeoil-9999.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 -PYTHON_COMPAT=( python3_{6..9} ) +PYTHON_COMPAT=( python3_{8..9} ) PYTHON_REQ_USE="threads(+)" inherit distutils-r1 @@ -10,7 +10,7 @@ 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" + 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 |