diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-07-24 14:55:44 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-07-24 14:55:44 +0100 |
commit | b83b16e0f6c963583f6323fe1bb12ecbd11d6f81 (patch) | |
tree | d67748047921162af2742c3e1255e3f1421f769b /dev-python/python-lzo | |
parent | 76617568771869151cb2a3f71939719c15dd47a2 (diff) |
gentoo auto-resync : 24:07:2023 - 14:55:44
Diffstat (limited to 'dev-python/python-lzo')
-rw-r--r-- | dev-python/python-lzo/Manifest | 5 | ||||
-rw-r--r-- | dev-python/python-lzo/files/python-lzo-1.14-pytest.patch | 71 | ||||
-rw-r--r-- | dev-python/python-lzo/python-lzo-1.14-r1.ebuild | 34 | ||||
-rw-r--r-- | dev-python/python-lzo/python-lzo-1.15.ebuild | 2 |
4 files changed, 2 insertions, 110 deletions
diff --git a/dev-python/python-lzo/Manifest b/dev-python/python-lzo/Manifest index c8463a657f79..612f327c8d55 100644 --- a/dev-python/python-lzo/Manifest +++ b/dev-python/python-lzo/Manifest @@ -1,6 +1,3 @@ -AUX python-lzo-1.14-pytest.patch 2080 BLAKE2B 00b9fd5d242fba39a57b53c1c4c2af32c6a6457e787616f019b861d3bfb96582eb61668f3bbf51794d2b9c4f8d7d08f5a637e39a1e39b58d69299c4e66acde00 SHA512 9c6b1f9743dfca25832d225e2e0d46aaacf0a6f591a5d430349c972a80888e4d5bed8752970a7dc46813fddb3887a30cf2dbe8a66aa098e71b003f5c9ea0eff5 -DIST python-lzo-1.14.tar.gz 14050 BLAKE2B e1df6b842562064ca13ddbacb194047ca343694d480a5a65e7d2876ec98a4215b4badb3b2a839f308dea8624c162a0536f363c093bcb2e5b48c68b69fb472729 SHA512 036cf7199afe12cec8b9c7ee92134f58357e1f892870ade3a619541a69c9cc92155892d53bd43330732b848016c2997e096a9a492e52f15d04fa516ca7645b93 DIST python-lzo-1.15.tar.gz 17633 BLAKE2B 577c78feeced5fba833c27b212b621a4cd8c9d4fe2dfb44d93cfd2b0aa9e88ee66926ec47d129b75496936f55d65e99e816d00e110b1d70300639a3907d823fd SHA512 1c7889f01b4809e7023804b702ac35a59e45df735865ff50449c69b414966c9f928c254ef7dde9e28fcc44ba4ac12df220bd6a6d34c0d274123f59c65ce3c5fe -EBUILD python-lzo-1.14-r1.ebuild 765 BLAKE2B 4e0dc722c16d2999d860c1a38d61f484abc1374b258fd5bc507684f9a7927ab90489e84977e1e2ea812ceb3ca6c52dfc3db7c488202c2d0eaa0d92a8d52ba301 SHA512 1d9e4cdd7eeb974d1ffb1b7ee2b1f544080e45fa154f86cc4b0914e44929bbbaf404168e5a03a51daecce019636b924896c10bc13b4bb4ddcbb87831f9c6bce1 -EBUILD python-lzo-1.15.ebuild 634 BLAKE2B 6dab207cd65a9e0c9ed447315a8a8bf36f717055e6eab79b69465f54b056177cc6f9ac451274eb9120443583c5ce16f1f4c19b4fa35d9b0a173f1eb3a4ac039f SHA512 5706e3c7692dddf468c9a3d99b822a61bba7a8fd22e4f4c0e2ea99c4a3ad989994fd0421a39110d02300693f413685b899e0257577f187218ed8576734c84286 +EBUILD python-lzo-1.15.ebuild 632 BLAKE2B e8118437126e5e30866c7e68ac1e7f4e42d22d3a5eef22290dfafa61a51197fdb2738055060981f28e13804ceac051b82e6ca368c1567081045eee9a01c5db50 SHA512 20b3fd3b08df3f5f225b958b3f9a1c9f11bf8201154772b9edbbaee356cfd68f4ba41ff7260f98845999d11cbf209a4dcf50f07c1f2a7fbfe2639128304b203d MISC metadata.xml 386 BLAKE2B d9e750b2ca0a3d46a031a5fab249197e73847ee5997a12c71f441eb5e386821818df07dadb272d5a726255a9310afecafa34b5f2196b49095a5ddd768054f5b4 SHA512 d98f79fd1e62456f1603ba412cdfb14e986c6d7831b6c88d9b561da24d36924aa3a979411f1d216cbbaf4740af2db733f61dd13f64ef94fe0e6d8e5e80545630 diff --git a/dev-python/python-lzo/files/python-lzo-1.14-pytest.patch b/dev-python/python-lzo/files/python-lzo-1.14-pytest.patch deleted file mode 100644 index 2abaab19aab5..000000000000 --- a/dev-python/python-lzo/files/python-lzo-1.14-pytest.patch +++ /dev/null @@ -1,71 +0,0 @@ -https://github.com/jd-boyd/python-lzo/pull/66 - -diff --git a/setup.py b/setup.py -index 033692d..e7e383d 100644 ---- a/setup.py -+++ b/setup.py -@@ -33,7 +33,7 @@ class TestCommand(Command): - raise SystemExit( - subprocess.call([sys.executable, - '-m', -- 'nose'])) -+ 'pytest'])) - - - if sys.platform == "win32": -@@ -91,7 +91,7 @@ setup_args = get_kw( - maintainer_email="jdboyd@jdboyd.net", - url="https://github.com/jd-boyd/python-lzo", - license="GNU General Public License (GPL)", -- tests_require=['nose'], -+ tests_require=['pytest'], - cmdclass={ - 'test': TestCommand - }, -diff --git a/tests/test.py b/tests/test_lzo.py -similarity index 88% -rename from tests/test.py -rename to tests/test_lzo.py -index af761d9..b9d5c88 100644 ---- a/tests/test.py -+++ b/tests/test_lzo.py -@@ -32,6 +32,7 @@ - - from __future__ import print_function - -+import pytest - import sys, string - - # update sys.path when running in the build directory -@@ -94,22 +95,20 @@ def test_version(): - assert pkg_version == mod_version, \ - "%r != %r" %(pkg_version, mod_version) - --def test_lzo(): -- yield gen, b"aaaaaaaaaaaaaaaaaaaaaaaa" -- yield gen, b"abcabcabcabcabcabcabcabc" -- yield gen, b"abcabcabcabcabcabcabcabc", 9 -+@pytest.mark.parametrize("src, level", [(b"aaaaaaaaaaaaaaaaaaaaaaaa", 1), (b"abcabcabcabcabcabcabcabc", 1), (b"abcabcabcabcabcabcabcabc", 9)]) -+def test_lzo(src, level): -+ gen(src, level) - -- --def test_lzo_raw(): -- yield gen_raw, b"aaaaaaaaaaaaaaaaaaaaaaaa" -- yield gen_raw, b"abcabcabcabcabcabcabcabc" -- yield gen_raw, b"abcabcabcabcabcabcabcabc", 9 -+@pytest.mark.parametrize("src, level", [(b"aaaaaaaaaaaaaaaaaaaaaaaa", 1), (b"abcabcabcabcabcabcabcabc", 1), (b"abcabcabcabcabcabcabcabc", 9)]) -+def test_lzo_raw(src, level): -+ gen_raw(src, level) - - - def test_lzo_empty(): -- yield gen, b"" -- yield gen_raw, b"" -+ gen(b"") - -+def test_lzo_empty_raw(): -+ gen_raw(b"") - - def test_lzo_big(): - gen(b" " * 131072) diff --git a/dev-python/python-lzo/python-lzo-1.14-r1.ebuild b/dev-python/python-lzo/python-lzo-1.14-r1.ebuild deleted file mode 100644 index c26a43f314d0..000000000000 --- a/dev-python/python-lzo/python-lzo-1.14-r1.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{9..11} ) - -inherit distutils-r1 prefix pypi - -DESCRIPTION="Python interface to lzo" -HOMEPAGE="https://github.com/jd-boyd/python-lzo" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~riscv x86 ~amd64-linux ~x86-linux" - -RDEPEND="dev-libs/lzo:2" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}"/${P}-pytest.patch -) - -# We can't use pytest at the moment because the package uses "yield tests" -# https://docs.pytest.org/en/6.2.x/deprecations.html#yield-tests -distutils_enable_tests pytest - -python_prepare_all() { - hprefixify setup.py - distutils-r1_python_prepare_all -} diff --git a/dev-python/python-lzo/python-lzo-1.15.ebuild b/dev-python/python-lzo/python-lzo-1.15.ebuild index ec367e8ccfc9..d62efbc1fa72 100644 --- a/dev-python/python-lzo/python-lzo-1.15.ebuild +++ b/dev-python/python-lzo/python-lzo-1.15.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm ~arm64 ~riscv x86 ~amd64-linux ~x86-linux" DEPEND=" dev-libs/lzo:2 |