diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-01-08 11:28:34 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-01-08 11:28:34 +0000 |
commit | 24fd814c326e282c4321965c31f341dad77e270d (patch) | |
tree | 033d63b33c21a3209964ab56005bb9bdd523630d /dev-python/snappy | |
parent | 129160ec854dca4c3fedb5bcfbcb56930371da0f (diff) |
gentoo resync : 08.01.2021
Diffstat (limited to 'dev-python/snappy')
-rw-r--r-- | dev-python/snappy/Manifest | 2 | ||||
-rw-r--r-- | dev-python/snappy/snappy-0.6.0.ebuild | 28 |
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-python/snappy/Manifest b/dev-python/snappy/Manifest index 732adb80781c..9d92fe8306d8 100644 --- a/dev-python/snappy/Manifest +++ b/dev-python/snappy/Manifest @@ -1,3 +1,5 @@ DIST python-snappy-0.5.1.tar.gz 15252 BLAKE2B eede689d51123968bdea64b8c89dc1fcb7f700fcd4e5869339717657ea6db88cacfcdaf59f00899773c65953c16ae271c5a6e03d6a17be16ca1e3dddf2b37cd3 SHA512 95a6389c58790aaeff61419bb9f183a29ad801733cae8144a67eb6203a8ebf6c6790bea7c025b37588dc98ebd2fed20f37857d2f30199f507f52653d2475c16b +DIST python-snappy-0.6.0.tar.gz 21344 BLAKE2B ed5b3796a6af9b2196a1cd5353cefb808a878b324d2eae6f83fca12400365c069ed38ad50d790d6201ae9584128371a655ac2003708d324fe227e0153ddaca5d SHA512 185f43fa3adef2a5ec7468f993b83d356dbd76b3340badd308ff2350352b004c4c9528b73282407ebc4f6e1c23a03c1b9abd9f3915b04771ad9b011d7163a63c EBUILD snappy-0.5.1-r1.ebuild 677 BLAKE2B 6ee1a32d522cb59f976837636eef29391e995c782cc4fe38ad34d0b21bcbc9fae138eaf92c8c1b1dab28de74d490878e9b750b1d97f4444b84309ae768af6ed4 SHA512 35082bb3b4da2260e35287a88056af71943254fdc20ac807d5c0d9fa3c649d6ea20c128e3b1ba1c0bdd14aa1164650c3de93a9e3c988935adf45ff55ae1dceb8 +EBUILD snappy-0.6.0.ebuild 699 BLAKE2B 2b0f0af03d9fd01da6ef915dafffdb3c83d41491b8f1f9d2c333beb1c8e4e7dad0aa3265140849268ee8b021681963f25ea2fb2b54c937a2d0c1d0cd7fcfda92 SHA512 3cd6cdb6b226091262bd62d082630b862a54a4916973e20f0db40d156f3c0222166037ee399404b93078e77f91646023023af8342465d6d873f828170578f16e MISC metadata.xml 376 BLAKE2B 534d91b9ba78233f6fdcfeb7ae6c8aaf426a4848c111ba297f3814671079d3aee1ae505a93c024f3682dda2042907c424db70e3b0a40f7902d020332889e1a0b SHA512 6760eff3990221e541650ff83fa59902230892c992209ab707ac1e8da67be6c097e50b80496500938073026ec4f81ba4016a7b43a84ddfa0f07f3171163fc1ef diff --git a/dev-python/snappy/snappy-0.6.0.ebuild b/dev-python/snappy/snappy-0.6.0.ebuild new file mode 100644 index 000000000000..62f6618db87c --- /dev/null +++ b/dev-python/snappy/snappy-0.6.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) +inherit distutils-r1 + +MY_PN=python-${PN} +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Python library for the snappy compression library from Google" +HOMEPAGE="https://pypi.org/project/python-snappy/" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" +SLOT="0" + +DEPEND=">=app-arch/snappy-1.0.2:=" +RDEPEND=${DEPEND} + +python_test() { + cp test*.py "${BUILD_DIR}" || die + cd "${BUILD_DIR}" || die + "${EPYTHON}" -m unittest -v || die "Tests fail with ${EPYTHON}" +} |