diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-03-20 00:40:44 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-03-20 00:40:44 +0000 |
commit | 4cbcc855382a06088e2f016f62cafdbcb7e40665 (patch) | |
tree | 356496503d52354aa6d9f2d36126302fed5f3a73 /dev-python/snappy | |
parent | fcc5224904648a8e6eb528d7603154160a20022f (diff) |
gentoo resync : 20.03.2022
Diffstat (limited to 'dev-python/snappy')
-rw-r--r-- | dev-python/snappy/Manifest | 2 | ||||
-rw-r--r-- | dev-python/snappy/snappy-0.6.1.ebuild | 30 |
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/snappy/Manifest b/dev-python/snappy/Manifest index f378244503a7..c8bb2f0618c1 100644 --- a/dev-python/snappy/Manifest +++ b/dev-python/snappy/Manifest @@ -1,3 +1,5 @@ DIST python-snappy-0.6.0.tar.gz 21344 BLAKE2B ed5b3796a6af9b2196a1cd5353cefb808a878b324d2eae6f83fca12400365c069ed38ad50d790d6201ae9584128371a655ac2003708d324fe227e0153ddaca5d SHA512 185f43fa3adef2a5ec7468f993b83d356dbd76b3340badd308ff2350352b004c4c9528b73282407ebc4f6e1c23a03c1b9abd9f3915b04771ad9b011d7163a63c +DIST python-snappy-0.6.1.tar.gz 24110 BLAKE2B 66ba24aa1768084c87188dde6eb6c98daf90da39e49902bbc283226aaf28b8d267bbc69f3cb9f30d9aaf64b3e25cc0fae47113bcc65f18dbec2128294c0dbe4b SHA512 43301f568633068bbdcb3dc318f37efcabbb5bd3f61a06b3a3a476006c3cbc1dfddea4ac2de0876bb127b354aa81ccc55dc44631dc8fba06036a0b6c7dfbdb9b EBUILD snappy-0.6.0.ebuild 696 BLAKE2B 81970e2669a797f365f62af32b1bfd8814732c7953bd86947e576d773c149dec35769c4430f74c401302b44473f87f5c0a4ce76ef5a945f20bd9e0d5567b38d4 SHA512 c2ea7ae542a5f4fa849649c7e9d6855f3f38c47e4c1cce4ed13c41ab4fc17326d3beb6ad015155cb2b93fc074bcb8286a0f14c9d173293bb6df56fcecd165428 +EBUILD snappy-0.6.1.ebuild 740 BLAKE2B 2f7f8604c0c946000270db91e45777c077eed5f53a5a57e0a232567da34c3f477c6440c93c064e8a6e78d2967a79ed9dd5071b35d75e7717f60b3d55fa37a1d3 SHA512 ed04372eba5cf2294ab3561e0aed33892289e5885113f7b325cf1140ea362322c5a3490e1acd886a498b1bb4d6fdd32711d72fbeab149d3868a04a5645f06c2e MISC metadata.xml 377 BLAKE2B 5f5e3a28de9581661a02df12064d6682c05849ff7e4c5a26cbada7cdea562bc6c4b086f6d68382d962cfe23e1b250e0a87873229f406d0cb52dff1df5606aa65 SHA512 1cd283f4145af830191d8658c7ccbcfe7866cc5d2c6861171320a5990e4e0de402ffb6b221013ebbf844b9022654c230040153f77d0bf2c77e92e427ea7b7021 diff --git a/dev-python/snappy/snappy-0.6.1.ebuild b/dev-python/snappy/snappy-0.6.1.ebuild new file mode 100644 index 000000000000..b1383bcc0304 --- /dev/null +++ b/dev-python/snappy/snappy-0.6.1.ebuild @@ -0,0 +1,30 @@ +# 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} ) + +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 ~riscv ~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}" +} |