diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-02-02 21:08:25 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-02-02 21:08:25 +0000 |
commit | c107831b9ebfe892c139cdb68d747eea369d8588 (patch) | |
tree | 3e2fbc0ea06bf0ea7a5fdf0250036433cd4bc11f /dev-python/python-snappy | |
parent | 52895d302231ef73b105756d2781b2262638d566 (diff) |
gentoo auto-resync : 02:02:2023 - 21:08:25
Diffstat (limited to 'dev-python/python-snappy')
-rw-r--r-- | dev-python/python-snappy/Manifest | 3 | ||||
-rw-r--r-- | dev-python/python-snappy/metadata.xml | 12 | ||||
-rw-r--r-- | dev-python/python-snappy/python-snappy-0.6.1.ebuild | 33 |
3 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/python-snappy/Manifest b/dev-python/python-snappy/Manifest new file mode 100644 index 000000000000..3d16a13e49b6 --- /dev/null +++ b/dev-python/python-snappy/Manifest @@ -0,0 +1,3 @@ +DIST python-snappy-0.6.1.tar.gz 24110 BLAKE2B 66ba24aa1768084c87188dde6eb6c98daf90da39e49902bbc283226aaf28b8d267bbc69f3cb9f30d9aaf64b3e25cc0fae47113bcc65f18dbec2128294c0dbe4b SHA512 43301f568633068bbdcb3dc318f37efcabbb5bd3f61a06b3a3a476006c3cbc1dfddea4ac2de0876bb127b354aa81ccc55dc44631dc8fba06036a0b6c7dfbdb9b +EBUILD python-snappy-0.6.1.ebuild 718 BLAKE2B 411ef0b8adc6a8c95b63d5f36db565101b4bff105b9cf85beca0f673558e3e3665f9befb0612aa261a41a3ffb1925c511f25f86779c9d5bb75b884a253644c7c SHA512 9426ca4280eb7c3238ac3e06c0e7b6539a21da2f37afcfe8d61a624039abc86cdc8f65f21a548ef1a2d4cfeada0a7806cbe2cfa9bf9aa4c83ad4b407ad26fd3f +MISC metadata.xml 377 BLAKE2B 5f5e3a28de9581661a02df12064d6682c05849ff7e4c5a26cbada7cdea562bc6c4b086f6d68382d962cfe23e1b250e0a87873229f406d0cb52dff1df5606aa65 SHA512 1cd283f4145af830191d8658c7ccbcfe7866cc5d2c6861171320a5990e4e0de402ffb6b221013ebbf844b9022654c230040153f77d0bf2c77e92e427ea7b7021 diff --git a/dev-python/python-snappy/metadata.xml b/dev-python/python-snappy/metadata.xml new file mode 100644 index 000000000000..8e5d00faef0e --- /dev/null +++ b/dev-python/python-snappy/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <upstream> + <remote-id type="pypi">python-snappy</remote-id> + <remote-id type="github">andrix/python-snappy</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/python-snappy/python-snappy-0.6.1.ebuild b/dev-python/python-snappy/python-snappy-0.6.1.ebuild new file mode 100644 index 000000000000..01d657a6f81b --- /dev/null +++ b/dev-python/python-snappy/python-snappy-0.6.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 + +DESCRIPTION="Python library for the snappy compression library from Google" +HOMEPAGE=" + https://github.com/andrix/python-snappy/ + https://pypi.org/project/python-snappy/ +" +SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" + +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}" +} |