diff options
Diffstat (limited to 'dev-python/brotlipy')
-rw-r--r-- | dev-python/brotlipy/Manifest | 5 | ||||
-rw-r--r-- | dev-python/brotlipy/brotlipy-0.7.0-r3.ebuild | 49 | ||||
-rw-r--r-- | dev-python/brotlipy/files/brotlipy-0.7.0-test-deadline.patch | 28 | ||||
-rw-r--r-- | dev-python/brotlipy/metadata.xml | 12 |
4 files changed, 0 insertions, 94 deletions
diff --git a/dev-python/brotlipy/Manifest b/dev-python/brotlipy/Manifest deleted file mode 100644 index e6c816b1cc68..000000000000 --- a/dev-python/brotlipy/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -AUX brotlipy-0.7.0-test-deadline.patch 913 BLAKE2B f7a57989defc3cbc6aa0f29d9db73d7aaf5abae22609b4d501699b4e5195f50fa8025feee64e7935584868d5100f3e088abcc2086056058464f3f4ad14a939e6 SHA512 c125622a149582b0e45397877f4f609ced2d9b388ed101a7a5c0bdbdbb849093538be5ba12e6d549c7a9fea1df3c74dc8dcc3d4bc894bb2ebae0117440b1d5af -DIST brotli-46c1a881b41bb638c76247558aa04b1591af3aa7.tar.gz 19840371 BLAKE2B b9a1c3c2e5b62bd63b392debe54bd1732ac1cb31f88500f0142108b453649d96901d9a03b6db98642cb9abaf9188c06d440f2b8bd3cf57fbbb52196a931f5079 SHA512 dc573c90491032a205f32f0ce9c93e95b06c70a3107caa9501e038a212226c37117d63709a29843367344bf7d18cf32d0c0578b11166387198e12b38b1522406 -DIST brotlipy-0.7.0.tar.gz 19375 BLAKE2B 035dc8757e491bc4fc0d8e2b6b82703eecc8f6f4150da42fda0f6c6f42a617519f5191371eb1dd976b8bbfeab88845bb018b874a395cdbf0ff409a6911f969f5 SHA512 bec8183cf3cc8ba9e594d1a86a8a33d88a6ac8e9c6a6287c837bda3726183ff1b486f2c49da4e489b5b3cb51b57dd5816413b59419920c2ced48435221f1beaf -EBUILD brotlipy-0.7.0-r3.ebuild 1570 BLAKE2B 181f09721a98ed75399a57f076bea0001761b4ab21962284b1e1035dc2c1a666a3bbc36a3cba8dc93f6fc3f4aa031a83a65aa23dd3e491cc0d874c491cbd52de SHA512 f90fae1c3da3d6a19546dededd95747c7622e3a282ca73e1b8db402000399abcfcd4f05d88c98b906fbea1700041d02a4bd0c1d579684cd104bbd61f783191d8 -MISC metadata.xml 372 BLAKE2B 3911434692e9e18810246101a8a365425be643f6895718f6faaf9463a99624ab898a5197127d904942cf8ad452e28052da420f05abd1d8c8368f8b7da2fa08d4 SHA512 daa1c91e60f79c74e425cbbda5a60297659ccbc91e7356efc32053d435e666f56347c02f7ebebbc2059ce3b91919d73c7d70295c1a2a255d8abcc2e197a90e79 diff --git a/dev-python/brotlipy/brotlipy-0.7.0-r3.ebuild b/dev-python/brotlipy/brotlipy-0.7.0-r3.ebuild deleted file mode 100644 index 9d1102eab848..000000000000 --- a/dev-python/brotlipy/brotlipy-0.7.0-r3.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python3_{7..9} pypy3 ) - -inherit distutils-r1 - -# Commit of the Brotli library bundled within brotlipy. -BROTLI_BUNDLED_COMMIT="46c1a881b41bb638c76247558aa04b1591af3aa7" - -DESCRIPTION="Python binding to the Brotli library" -HOMEPAGE="https://github.com/python-hyper/brotlipy/ https://pypi.python.org/pypi/brotlipy" -SRC_URI=" - https://github.com/python-hyper/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz - https://github.com/google/brotli/archive/${BROTLI_BUNDLED_COMMIT}.tar.gz -> brotli-${BROTLI_BUNDLED_COMMIT}.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" - -# module name collision with app-arch/brotli -RDEPEND=" - virtual/python-cffi[${PYTHON_USEDEP}] - !app-arch/brotli[python]" -DEPEND=" - test? ( - dev-python/hypothesis[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -PATCHES=( - "${FILESDIR}"/brotlipy-0.7.0-test-deadline.patch -) - -src_prepare() { - # Inject the brotli lib. - rm -r "${WORKDIR}/${P}/libbrotli" || die "Could not remove the bundled brotli lib folder." - cp -r "${WORKDIR}/brotli-${BROTLI_BUNDLED_COMMIT}/" "${WORKDIR}/${P}/libbrotli" || die "Could not inject the brotli lib." - - # Tests fail if we have this folder preserved within the lib. - rm -r "${WORKDIR}/${P}/libbrotli/python" || die "Could not remove 'python' subfolder." - - distutils-r1_src_prepare -} diff --git a/dev-python/brotlipy/files/brotlipy-0.7.0-test-deadline.patch b/dev-python/brotlipy/files/brotlipy-0.7.0-test-deadline.patch deleted file mode 100644 index 219243986dd9..000000000000 --- a/dev-python/brotlipy/files/brotlipy-0.7.0-test-deadline.patch +++ /dev/null @@ -1,28 +0,0 @@ -diff -dupr a/test/test_simple_compression.py b/test/test_simple_compression.py ---- a/test/test_simple_compression.py 2017-05-30 10:20:01.000000000 +0200 -+++ b/test/test_simple_compression.py 2019-11-22 11:37:31.248755016 +0100 -@@ -9,7 +9,7 @@ import brotli - - import pytest - --from hypothesis import given -+from hypothesis import given, settings - from hypothesis.strategies import binary, integers, sampled_from, one_of - - -@@ -25,6 +25,7 @@ def test_roundtrip_compression_with_file - ) == uncompressed_data - - -+@settings(deadline=None) - @given( - chunk_size=integers(min_value=1, max_value=2**12), - mode=sampled_from(list(brotli.BrotliEncoderMode)), -@@ -62,6 +63,7 @@ def test_streaming_compression(one_compr - assert decompressed == f.read() - - -+@settings(deadline=None) - @given( - chunk_size=integers(min_value=1, max_value=2**12), - mode=sampled_from(list(brotli.BrotliEncoderMode)), diff --git a/dev-python/brotlipy/metadata.xml b/dev-python/brotlipy/metadata.xml deleted file mode 100644 index 56e99b52ee7f..000000000000 --- a/dev-python/brotlipy/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>python@gentoo.org</email> - <name>Python</name> - </maintainer> - <upstream> - <remote-id type="pypi">brotlipy</remote-id> - <remote-id type="github">python-hyper/brotlipy</remote-id> - </upstream> -</pkgmetadata> |