commit: c2970dc02c6002143d204d25b7ca4e288a961066
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 15 06:45:49 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Oct 15 06:49:01 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2970dc0
dev-python/apsw: Remove old
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/apsw/Manifest | 4 --
dev-python/apsw/apsw-3.38.5_p1-r1.ebuild | 54 ---------------------
dev-python/apsw/apsw-3.39.2.0.ebuild | 50 -------------------
dev-python/apsw/apsw-3.39.2.1-r1.ebuild | 48 -------------------
dev-python/apsw/apsw-3.39.3.0-r1.ebuild | 56 ----------------------
dev-python/apsw/files/apsw-3.39.3.0-test.patch | 36 --------------
.../apsw/files/apsw-3.6.20.1-fix_tests.patch | 11 -----
7 files changed, 259 deletions(-)
diff --git a/dev-python/apsw/Manifest b/dev-python/apsw/Manifest
index d41a5c1ea3af..91bc2a68be1d 100644
--- a/dev-python/apsw/Manifest
+++ b/dev-python/apsw/Manifest
@@ -1,5 +1 @@
-DIST apsw-3.38.5-r1.gh.tar.gz 338186 BLAKE2B
145e38d4057be498f85a655ad7a437ec19a895769f58505b4b99093be30e67498faf9572494009db8e20e6700fa5e514605af131d045a4e8bb41587b828f5a88
SHA512
58331ca2db993f87316a55075ee9c440d4bd6e985e8ca11079391bd9cc2a907271ffe5c21d66840e336cd9e6568f6134c8b8fa5d28bbc7c77a1dddd48e8b99b7
-DIST apsw-3.39.2.0.gh.tar.gz 345634 BLAKE2B
433455fdb0dbc6192bbb3ef47cc1d54faa310715b81312b999a84f90de61e5362e4af8d3a705816100381ae920283d84a50fb2e51308227eecf9de5b7166c4ac
SHA512
4d3eb68d47cf8114e7823969277d0f42c4091632d4aeab61f66e91e99601b6a5286875515e860e27a2f736c943dad1657f5c47cbdd23a3d1479d3019bfd1c05b
-DIST apsw-3.39.2.1.gh.tar.gz 363389 BLAKE2B
001efa8904c724ec051ac18d80ce55ce646c12ea4a218536494fa0e5804781ccc6c66287575c21553c0a97f4a806a5c7ab671116667d0368c32f7e614fd32a2f
SHA512
10f08320157be96ad409472b50480b1b1875ec88ccb00690851aaef5864aa2bfc8000fce10ef0f00b820cfd5cebad950f0e7bba432018524cb292a6738ff30e8
-DIST apsw-3.39.3.0.gh.tar.gz 364874 BLAKE2B
e23ca9ce125b2097f2e859d19053405070a3a09e061d27a175d4a3b721c4b68ac220b0522ca4e49075b937ebafdef8ba0cc5b0adc1ea389ee7c0c195b9f0850a
SHA512
f9977f4112f2a7b11c0b0ab3576eada7b816dd69c518a637fc0152ba8fc4d12330febdd91abaf00af9e26049041024b590a4d60a9f055bf49c3301c92a68b539
DIST apsw-3.39.4.0.gh.tar.gz 371139 BLAKE2B
223736e45b581f96cfcf4cd42f3aa278c0c3cc6b49188ac1979cc30835635f0f935eac8231d7ba0e1ae50f169095e672fe33c7938e6dbf94a7b82fc44d126002
SHA512
c09b367fa5825300c4a4fb82916077208ebd5741f9be4814d33032349eacdd6c7d528430e6d85615c56aaea30995c2575bfbe02876dc8e95e2c337a811df07e7
diff --git a/dev-python/apsw/apsw-3.38.5_p1-r1.ebuild
b/dev-python/apsw/apsw-3.38.5_p1-r1.ebuild
deleted file mode 100644
index 6534ee96cbd7..000000000000
--- a/dev-python/apsw/apsw-3.38.5_p1-r1.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-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} )
-
-inherit distutils-r1
-
-MY_PV=${PV/_p/-r}
-MY_P=${PN}-${MY_PV}
-
-DESCRIPTION="APSW - Another Python SQLite Wrapper"
-HOMEPAGE="
- https://github.com/rogerbinns/apsw/
- https://pypi.org/project/apsw/
-"
-SRC_URI="
- https://github.com/rogerbinns/apsw/archive/${MY_PV}.tar.gz
- -> ${MY_P}.gh.tar.gz
-"
-S=${WORKDIR}/${MY_P}
-
-LICENSE="ZLIB"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~ppc64 x86"
-IUSE="doc"
-
-DEPEND="
- >=dev-db/sqlite-${PV%_p*}:3
-"
-RDEPEND="
- ${DEPEND}
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-3.6.20.1-fix_tests.patch"
-)
-
-python_compile() {
- # Needed for e.g. bug #851741
- distutils-r1_python_compile --enable=load_extension
-}
-
-python_test() {
- esetup.py build_test_extension
- "${EPYTHON}" tests.py -v || die "Tests failed under ${EPYTHON}"
-}
-
-python_install_all() {
- use doc && local HTML_DOCS=( doc/. )
- distutils-r1_python_install_all
-}
diff --git a/dev-python/apsw/apsw-3.39.2.0.ebuild
b/dev-python/apsw/apsw-3.39.2.0.ebuild
deleted file mode 100644
index 757ce76fb631..000000000000
--- a/dev-python/apsw/apsw-3.39.2.0.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-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} )
-
-inherit distutils-r1
-
-DESCRIPTION="APSW - Another Python SQLite Wrapper"
-HOMEPAGE="
- https://github.com/rogerbinns/apsw/
- https://pypi.org/project/apsw/
-"
-SRC_URI="
- https://github.com/rogerbinns/apsw/archive/${PV}.tar.gz
- -> ${P}.gh.tar.gz
-"
-
-LICENSE="ZLIB"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~ppc64 x86"
-IUSE="doc"
-
-DEPEND="
- >=dev-db/sqlite-${PV%.*}:3
-"
-RDEPEND="
- ${DEPEND}
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-3.6.20.1-fix_tests.patch"
-)
-
-python_compile() {
- # Needed for e.g. bug #851741
- distutils-r1_python_compile --enable=load_extension
-}
-
-python_test() {
- esetup.py build_test_extension
- "${EPYTHON}" tests.py -v || die "Tests failed under ${EPYTHON}"
-}
-
-python_install_all() {
- use doc && local HTML_DOCS=( doc/. )
- distutils-r1_python_install_all
-}
diff --git a/dev-python/apsw/apsw-3.39.2.1-r1.ebuild
b/dev-python/apsw/apsw-3.39.2.1-r1.ebuild
deleted file mode 100644
index 2e0e6c51a7da..000000000000
--- a/dev-python/apsw/apsw-3.39.2.1-r1.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-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} )
-
-inherit distutils-r1
-
-DESCRIPTION="APSW - Another Python SQLite Wrapper"
-HOMEPAGE="
- https://github.com/rogerbinns/apsw/
- https://pypi.org/project/apsw/
-"
-SRC_URI="
- https://github.com/rogerbinns/apsw/archive/${PV}.tar.gz
- -> ${P}.gh.tar.gz
-"
-
-LICENSE="ZLIB"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
-IUSE="doc"
-
-DEPEND="
- >=dev-db/sqlite-${PV%.*}:3
-"
-RDEPEND="
- ${DEPEND}
-"
-
-src_configure() {
- cat >> setup.cfg <<-EOF || die
- [build_ext]
- enable=load_extension,column_metadata
- EOF
-}
-
-python_test() {
- esetup.py build_test_extension
- "${EPYTHON}" apsw/tests.py -v || die "Tests failed under ${EPYTHON}"
-}
-
-python_install_all() {
- use doc && local HTML_DOCS=( doc/. )
- distutils-r1_python_install_all
-}
diff --git a/dev-python/apsw/apsw-3.39.3.0-r1.ebuild
b/dev-python/apsw/apsw-3.39.3.0-r1.ebuild
deleted file mode 100644
index 90134487b433..000000000000
--- a/dev-python/apsw/apsw-3.39.3.0-r1.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-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} )
-
-inherit distutils-r1
-
-DESCRIPTION="APSW - Another Python SQLite Wrapper"
-HOMEPAGE="
- https://github.com/rogerbinns/apsw/
- https://pypi.org/project/apsw/
-"
-SRC_URI="
- https://github.com/rogerbinns/apsw/archive/${PV}.tar.gz
- -> ${P}.gh.tar.gz
-"
-
-LICENSE="ZLIB"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
-IUSE="doc"
-
-DEPEND="
- >=dev-db/sqlite-${PV%.*}:3
-"
-RDEPEND="
- ${DEPEND}
-"
-
-PATCHES=(
- # upstream backport for test problem
- #
https://github.com/rogerbinns/apsw/commit/ce1604f15544cffd5403764f6508bbe63726b5e3
- "${FILESDIR}"/${P}-test.patch
-)
-
-src_configure() {
- cat >> setup.cfg <<-EOF || die
- [build_ext]
- enable=load_extension
- use_system_sqlite_config=True
- EOF
-}
-
-python_test() {
- esetup.py build_test_extension
- cd "${T}" || die
- "${EPYTHON}" -m apsw.tests -v || die "Tests failed under ${EPYTHON}"
-}
-
-python_install_all() {
- use doc && local HTML_DOCS=( doc/. )
- distutils-r1_python_install_all
-}
diff --git a/dev-python/apsw/files/apsw-3.39.3.0-test.patch
b/dev-python/apsw/files/apsw-3.39.3.0-test.patch
deleted file mode 100644
index 764fe4844bca..000000000000
--- a/dev-python/apsw/files/apsw-3.39.3.0-test.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From a28713a9ebcc8d393beb270ca9fd5bf3b86a52bb Mon Sep 17 00:00:00 2001
-From: Roger Binns <[email protected]>
-Date: Thu, 22 Sep 2022 08:33:13 -0700
-Subject: [PATCH] Ensure uncompleted statement is present
-
-It turns out that under some circumstances Python hasattr
-is actually doing a getattr. That means an incomplete statement
-needs to be present for the hasattr to not raise an exception.
-
-See #370
----
- apsw/tests.py | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/apsw/tests.py b/apsw/tests.py
-index bdaf70d..e9ad3c0 100644
---- a/apsw/tests.py
-+++ b/apsw/tests.py
-@@ -772,6 +772,7 @@ class APSW(unittest.TestCase):
- c.execute("drop table foo; create table foo (%s)" % (", ".join(["[%s]
%s" % (n, t) for n, t in cols]), ))
- c.execute("insert into foo([x a space]) values(1)")
- c.execute("create temp table two(fred banana); insert into two
values(7); create temp view three as select fred as [a space] from two")
-+ c.execute("select 3") # see issue #370
- has_full=any(o=="ENABLE_COLUMN_METADATA" or
o.startswith("ENABLE_COLUMN_METADATA=") for o in apsw.compile_options) if
apsw.using_amalgamation else hasattr(c, "description_full")
- for row in c.execute("select * from foo"):
- self.assertEqual(cols, c.getdescription())
-@@ -8835,4 +8836,4 @@ if __name__ == '__main__':
- del re
- gc.collect()
-
-- exit(exitcode)
-\ No newline at end of file
-+ exit(exitcode)
---
-2.37.3
-
diff --git a/dev-python/apsw/files/apsw-3.6.20.1-fix_tests.patch
b/dev-python/apsw/files/apsw-3.6.20.1-fix_tests.patch
deleted file mode 100644
index e252bf3f26a6..000000000000
--- a/dev-python/apsw/files/apsw-3.6.20.1-fix_tests.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/tests.py
-+++ b/tests.py
-@@ -5480,7 +5480,7 @@
- testnasty()
-
- # What happens if db cannot be opened?
-- s.process_args(args=["/"])
-+ s.process_args(args=["src"])
- reset()
- cmd("select * from sqlite_master;\n.bail on\nselect 3;\n")
- self.assertRaises(apsw.CantOpenError, s.cmdloop)