From 8b4ace9c50842c5b83401ea7b179dcab940387e1 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 23 Sep 2020 10:22:15 +0100 Subject: gentoo resync : 23.09.2020 --- dev-python/brotlipy/Manifest | 2 +- dev-python/brotlipy/brotlipy-0.7.0-r2.ebuild | 50 ---------------------------- dev-python/brotlipy/brotlipy-0.7.0-r3.ebuild | 49 +++++++++++++++++++++++++++ 3 files changed, 50 insertions(+), 51 deletions(-) delete mode 100644 dev-python/brotlipy/brotlipy-0.7.0-r2.ebuild create mode 100644 dev-python/brotlipy/brotlipy-0.7.0-r3.ebuild (limited to 'dev-python/brotlipy') diff --git a/dev-python/brotlipy/Manifest b/dev-python/brotlipy/Manifest index d5e447227c9f..0a6eebff4ecd 100644 --- a/dev-python/brotlipy/Manifest +++ b/dev-python/brotlipy/Manifest @@ -1,5 +1,5 @@ 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-r2.ebuild 1536 BLAKE2B 19c85f7a8cd2880e5160d0ef1f94bda5b52362582ff15712b9985bd0f4dcc5e2a3f367d56b7a882441b5108e4473861f8c732f8016a4ddd54859d2e6b6a54607 SHA512 0c01c9f7ac5aa63285e5b0f00c44081b8af979957843738d3fba95025bcf7be0ed9c4323542c724fd4a1ee7de0852767e0a4d962596e241b7534af6e4153d94a +EBUILD brotlipy-0.7.0-r3.ebuild 1465 BLAKE2B 0b82b7aa05b0e771ef0fab078d73ffcc419123c6342d434d14d4a61aed05f922c2ea823795fd8c9df445385f4ab5fcd6fadb5c6e996a23a642a55c5c7bf0226c SHA512 f90f96b7b8d39108b04bb8860f2992b00977510f6c5e556e65b934f7c0ade2a292f2e3617e21c47d337029840b42e59d34d01f780719f4762b9ee0e6c3d6c3a9 MISC metadata.xml 240 BLAKE2B 41e6a4d9da33dab2decc5ff419924f382a8f64d27a81fdb97576db8c6cf125be95911747946ec8be1b453f56617fef1084f5947f84b50a8db419d46df2ae8a0f SHA512 9c23321eaa853f851bf00195ea64ac2ba093e516f9b57855ee5aa58fbb1988130c9f0c17c2a9ce9fae4ee033e0a28a70c868e0f5acdfa1dd316ab533c5279d59 diff --git a/dev-python/brotlipy/brotlipy-0.7.0-r2.ebuild b/dev-python/brotlipy/brotlipy-0.7.0-r2.ebuild deleted file mode 100644 index 58775effc736..000000000000 --- a/dev-python/brotlipy/brotlipy-0.7.0-r2.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python{2_7,3_{6..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" - -# module name collision with app-arch/brotli -RDEPEND=" - virtual/python-cffi[${PYTHON_USEDEP}] - $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' -2) - !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/brotlipy-0.7.0-r3.ebuild b/dev-python/brotlipy/brotlipy-0.7.0-r3.ebuild new file mode 100644 index 000000000000..c542d45dbf44 --- /dev/null +++ b/dev-python/brotlipy/brotlipy-0.7.0-r3.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_{6..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" + +# 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 +} -- cgit v1.2.3