diff options
Diffstat (limited to 'dev-python/patiencediff')
-rw-r--r-- | dev-python/patiencediff/Manifest | 6 | ||||
-rw-r--r-- | dev-python/patiencediff/files/patiencediff-0.2.3-wint-conversion.patch | 84 | ||||
-rw-r--r-- | dev-python/patiencediff/patiencediff-0.2.3-r1.ebuild | 31 | ||||
-rw-r--r-- | dev-python/patiencediff/patiencediff-0.2.3.ebuild | 27 | ||||
-rw-r--r-- | dev-python/patiencediff/patiencediff-0.2.6.ebuild | 27 |
5 files changed, 0 insertions, 175 deletions
diff --git a/dev-python/patiencediff/Manifest b/dev-python/patiencediff/Manifest index fcf196c1c4e2..1a97e3f5bcfa 100644 --- a/dev-python/patiencediff/Manifest +++ b/dev-python/patiencediff/Manifest @@ -1,9 +1,3 @@ -AUX patiencediff-0.2.3-wint-conversion.patch 3219 BLAKE2B ba42b299c6ec3f7546d9fa077a904ad51b3c467cd40d4f686a6fa5e9b950e00560a3970cd16b53ae50593b98c7a4947dc0a95672023193319a4a9f7c6d0a2c3c SHA512 f10b4814bf4509bd3e67b751b93d9aa11871a599830f115f263521c1ec95f9d133d5039f5e8298f6a2602832e6f23e8528bce3080c10d67faf0c3d3983e5ac0e -DIST patiencediff-0.2.3.tar.gz 28903 BLAKE2B 83a5dffc11e02b759e8fda540453055d3f2fa03db098c2b323c965b39b121e5bc7e9b3fb0a7f5f1eff76aba81223350def2823469d2a3ceedb54824ae22a32c0 SHA512 4211aa824a8f0e4e5c9fa788ab532bc163684381fc143a089250b16ae70229efabdd1b2e4e50fdd8d36f3363526b80cf687030c435bd9b87e12624fc1fc6b786 -DIST patiencediff-0.2.6.tar.gz 29124 BLAKE2B f43e7fbbdef316f9ededb680f9c3c20eaab7e988489ba6dfc6038deb91cced5727b9461dbfd30f11b81a12aa238e27df1697abe84d323461da3029daf9fbfce1 SHA512 033c4da38a12cfcd180535635dc84ce6da14fe4f8ae9fc7665fc0b711759fe5a5440d73ed2c7f8f4edf967c9dea9046163b5b48d32ee59d0f4cc01256c7c9055 DIST patiencediff-0.2.7.tar.gz 26831 BLAKE2B 297af6a465ef3fc060a00df9882f85fbf9f807c6d6e8fbfa1d531ed16a60d86f3081d9c0c9698bf3b6d02ba45fbb1d58fead6430f73c04b4439076d0a05a8864 SHA512 8711d28ddc67cdebab5677c1120b1c7270b7509083b797371abcecd61ba71555a1c79c580a5615fe30e1e3bd088b2f4c28a68aa761a61ce55b93690ceb38d8c3 -EBUILD patiencediff-0.2.3-r1.ebuild 648 BLAKE2B afbafb876a025581eeb95fd0cb2182f8ec48695f04b7e3f97ea39dbe0fd6536b08883abb3a1bb503f04243120ff3971293870a00f78c3e302552fd5afe4af912 SHA512 9e52fdabb2d7aeac21ed516169f4a70b2fe04a2111a877cdaaebbe2ba3bd701a27d04fc1e99d63d5fd8c8684dfb1c6a971dc5451583ca3ff093b3a23422bde05 -EBUILD patiencediff-0.2.3.ebuild 593 BLAKE2B 535c5b56248ad9f04450690786345efb97e45f65a9bfd62b64f13b1baf0210a7144f3483a940a27a13c5d61882f69807b0586879e57f26a72e503551ef3c64ee SHA512 2399fdfd05bce1ebd9d6bb2741c88a456f4bfbfdc43fd98d4d54de1d6e76ae60b63df67d385d37270e434870d5f6a51b9a3973329b60029c97d30760ed8ef0f5 -EBUILD patiencediff-0.2.6.ebuild 593 BLAKE2B 535c5b56248ad9f04450690786345efb97e45f65a9bfd62b64f13b1baf0210a7144f3483a940a27a13c5d61882f69807b0586879e57f26a72e503551ef3c64ee SHA512 2399fdfd05bce1ebd9d6bb2741c88a456f4bfbfdc43fd98d4d54de1d6e76ae60b63df67d385d37270e434870d5f6a51b9a3973329b60029c97d30760ed8ef0f5 EBUILD patiencediff-0.2.7.ebuild 593 BLAKE2B 535c5b56248ad9f04450690786345efb97e45f65a9bfd62b64f13b1baf0210a7144f3483a940a27a13c5d61882f69807b0586879e57f26a72e503551ef3c64ee SHA512 2399fdfd05bce1ebd9d6bb2741c88a456f4bfbfdc43fd98d4d54de1d6e76ae60b63df67d385d37270e434870d5f6a51b9a3973329b60029c97d30760ed8ef0f5 MISC metadata.xml 380 BLAKE2B ecdc31572c230eb18696e567a55d49f8f49b9ac254b6deaff93d403fc399ace4b9d284b0cd3ef749cbd68eb0e21af284e1d088690df896b2133da7144aaa7cd5 SHA512 4ca7b8cb364b2e6a75a7720836d63933f281e3927c6f2b41eb6a27aeb11f338fed1f70eedd3c46156ee80d8469e271e381e4b43eb0bf704601270d578e99b63e diff --git a/dev-python/patiencediff/files/patiencediff-0.2.3-wint-conversion.patch b/dev-python/patiencediff/files/patiencediff-0.2.3-wint-conversion.patch deleted file mode 100644 index 3a8fd9fc1293..000000000000 --- a/dev-python/patiencediff/files/patiencediff-0.2.3-wint-conversion.patch +++ /dev/null @@ -1,84 +0,0 @@ -https://github.com/breezy-team/patiencediff/commit/24e26cd2929e01dc8ef47fb71b3b87536ad43947 - -From 24e26cd2929e01dc8ef47fb71b3b87536ad43947 Mon Sep 17 00:00:00 2001 -From: Sam James <sam@gentoo.org> -Date: Mon, 26 Sep 2022 21:49:47 +0100 -Subject: [PATCH] Use designated initialiser syntax for PyTypeObject - -Fixes build with Clang. Switch to the more readable designated -initialiser syntax to avoid having to lookup member order. - -Before, Clang would complain: -``` -clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -fdiagnostics-color=always -frecord-gcc-switches -fPIC -I/usr/include/python3.10 -c patiencediff/_patiencediff_c.c -o build/temp.linux-x86_64-cpython-310/patiencediff/_patiencediff_c.o -patiencediff/_patiencediff_c.c:1175:5: error: incompatible pointer to integer conversion initializing 'Py_ssize_t' (aka 'long') with an expression of type 'void *' [-Wint-conversion] - NULL, /* tp_print */ - ^~~~ -/usr/include/wchar.h:46:14: note: expanded from macro 'NULL' - ^~~~~~~~~~ -``` - -This is because some of PyTypeObject's members are actually -Py_ssize_t so chucking a NULL in looks like a codesmell to Clang. - -See https://docs.python.org/3/c-api/typeobj.html#quick-reference -and https://docs.python.org/3/c-api/typeobj.html#examples. - -Bug: https://bugs.gentoo.org/869995 -Closes: https://github.com/breezy-team/patiencediff/issues/12 -Signed-off-by: Sam James <sam@gentoo.org> ---- a/patiencediff/_patiencediff_c.c -+++ b/patiencediff/_patiencediff_c.c -@@ -1168,44 +1168,13 @@ static char PatienceSequenceMatcher_doc[] = - - static PyTypeObject PatienceSequenceMatcherType = { - PyVarObject_HEAD_INIT(NULL, 0) -- "PatienceSequenceMatcher", /* tp_name */ -- sizeof(PatienceSequenceMatcher), /* tp_basicsize */ -- 0, /* tp_itemsize */ -- (destructor)PatienceSequenceMatcher_dealloc, /* tp_dealloc */ -- NULL, /* tp_print */ -- NULL, /* tp_getattr */ -- NULL, /* tp_setattr */ -- NULL, /* tp_compare */ -- NULL, /* tp_repr */ -- NULL, /* tp_as_number */ -- NULL, /* tp_as_sequence */ -- NULL, /* tp_as_mapping */ -- NULL, /* tp_hash */ -- NULL, /* tp_call */ -- NULL, /* tp_str */ -- NULL, /* tp_getattro */ -- NULL, /* tp_setattro */ -- NULL, /* tp_as_buffer */ -- Py_TPFLAGS_DEFAULT, /* tp_flags */ -- PatienceSequenceMatcher_doc, /* tp_doc */ -- NULL, /* tp_traverse */ -- NULL, /* tp_clear */ -- NULL, /* tp_richcompare */ -- 0, /* tp_weaklistoffset */ -- NULL, /* tp_iter */ -- NULL, /* tp_iternext */ -- PatienceSequenceMatcher_methods, /* tp_methods */ -- NULL, /* tp_members */ -- NULL, /* tp_getset */ -- NULL, /* tp_base */ -- NULL, /* tp_dict */ -- NULL, /* tp_descr_get */ -- NULL, /* tp_descr_set */ -- 0, /* tp_dictoffset */ -- NULL, /* tp_init */ -- NULL, /* tp_alloc */ -- PatienceSequenceMatcher_new, /* NULL */ -- NULL, /* tp_free */ -+ .tp_name = "PatienceSequenceMatcher", -+ .tp_basicsize = sizeof(PatienceSequenceMatcher), -+ .tp_dealloc = (destructor)PatienceSequenceMatcher_dealloc, -+ .tp_flags = Py_TPFLAGS_DEFAULT, -+ .tp_doc = PatienceSequenceMatcher_doc, -+ .tp_methods = PatienceSequenceMatcher_methods, -+ .tp_new = PatienceSequenceMatcher_new, - }; - - - diff --git a/dev-python/patiencediff/patiencediff-0.2.3-r1.ebuild b/dev-python/patiencediff/patiencediff-0.2.3-r1.ebuild deleted file mode 100644 index 71db75366bb9..000000000000 --- a/dev-python/patiencediff/patiencediff-0.2.3-r1.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 2021-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..11} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Python implementation of the patiencediff algorithm" -HOMEPAGE=" - https://github.com/breezy-team/patiencediff/ - https://pypi.org/project/patiencediff/ -" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -PATCHES=( - "${FILESDIR}"/${P}-wint-conversion.patch -) - -distutils_enable_tests unittest - -python_test() { - cd "${BUILD_DIR}/install$(python_get_sitedir)" || die - eunittest -} diff --git a/dev-python/patiencediff/patiencediff-0.2.3.ebuild b/dev-python/patiencediff/patiencediff-0.2.3.ebuild deleted file mode 100644 index 0fed7fa1f361..000000000000 --- a/dev-python/patiencediff/patiencediff-0.2.3.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 2021-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..11} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Python implementation of the patiencediff algorithm" -HOMEPAGE=" - https://github.com/breezy-team/patiencediff/ - https://pypi.org/project/patiencediff/ -" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -distutils_enable_tests unittest - -python_test() { - cd "${BUILD_DIR}/install$(python_get_sitedir)" || die - eunittest -} diff --git a/dev-python/patiencediff/patiencediff-0.2.6.ebuild b/dev-python/patiencediff/patiencediff-0.2.6.ebuild deleted file mode 100644 index 0fed7fa1f361..000000000000 --- a/dev-python/patiencediff/patiencediff-0.2.6.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 2021-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..11} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Python implementation of the patiencediff algorithm" -HOMEPAGE=" - https://github.com/breezy-team/patiencediff/ - https://pypi.org/project/patiencediff/ -" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -distutils_enable_tests unittest - -python_test() { - cd "${BUILD_DIR}/install$(python_get_sitedir)" || die - eunittest -} |