summaryrefslogtreecommitdiff
path: root/dev-python/agate-sql
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/agate-sql')
-rw-r--r--dev-python/agate-sql/Manifest6
-rw-r--r--dev-python/agate-sql/agate-sql-0.5.6.ebuild58
-rw-r--r--dev-python/agate-sql/agate-sql-0.5.7.ebuild13
-rw-r--r--dev-python/agate-sql/metadata.xml1
4 files changed, 6 insertions, 72 deletions
diff --git a/dev-python/agate-sql/Manifest b/dev-python/agate-sql/Manifest
index f8763e930369..dc4f343d7ed6 100644
--- a/dev-python/agate-sql/Manifest
+++ b/dev-python/agate-sql/Manifest
@@ -1,5 +1,3 @@
-DIST agate-sql-0.5.6.tar.gz 9091 BLAKE2B 9094a2bfb500422e7fe75d1c83182af698aa92942a305a69301d45d92f01960a7ffc7908f0eb2b66556a856be0f7388e222034428afd269d402488c6c05abd36 SHA512 b4234a86f8bcd5b22bcb1e18d0cec0ba21c8a3521e15f767886241e16285cbd296683f83bd366a82d1e549679b3712663adc080950dedb24a0e6db5b2541050a
DIST agate-sql-0.5.7.tar.gz 14975 BLAKE2B 7890d5c21d89dd216a7a4c906189e1e44111bd96ef3476f0e6dc4c842dc3f25d537ee398f3c8e720d43e64001fa0ea93940d4a54ee31605eea9e8ae9aa4dec37 SHA512 df7e1d5975d9af0722f4bfa67f1e8679ed46759f8aaa5c76614ed5280c8347f727517568ba377c21dd8eb349f93b7a6d308959ae69bfedd125e6d99bd7bd9dcf
-EBUILD agate-sql-0.5.6.ebuild 1477 BLAKE2B f5a946abb127d8ce24ccd77fc573e6440df8b3c0d1317834e0128d9a8057e1b83f0e054aeb16f2e968c869fd2226d7e5bb1ba1a825d7f91df9dfabb01b80a7f0 SHA512 5e10af0fe07be21b99050734f01e562e0ac2b6fa7d7439eb81e883a601774756fdd32ec244ffdeb2a4ad084c361a0cb8689cdf7ff3f567a33ef5a816db1d02d5
-EBUILD agate-sql-0.5.7.ebuild 1406 BLAKE2B c1b9db47eddbd9cb8a2748b9b6560f0a2c26a0334c60572b01f80826e3766fc52b14aa29747545338ed1ed0ab8b2e4e96ec02ccb7a54ede0003d7f4f2b4a8a2b SHA512 d941e02a642f31f9bf7268a36a6c4cd460fa25d7eedb5761ec571615590cde84b69b3f8b50167a1040dd4e3259aee2a080aac7b432bff66ad428a8dc948d81bc
-MISC metadata.xml 512 BLAKE2B 0709aed8b06df8981ad0b0c2733a1acde06a0753701b6b35ad9662e5c66871529b968a71d39265d0fd72aec90f09f7166848e1155d240815041bff498d4be06a SHA512 f09f6203a8f90abb3646be9e8d2abb4d8b367a857f384a7c43d43862953c99111e05707eb4890a6a3abcfd33aa8717bc65b180771c0cc97e5ff1ed762978f95f
+EBUILD agate-sql-0.5.7.ebuild 1299 BLAKE2B e872f58baf8ee4de3adee73f69d59de678cc0bf18d1fcb85a53872546183c3179bc0ef2d79a7d94694c32071910eb3e63f2930d7b5c44047efdc153e3ea55c0f SHA512 4590164573b2b97d0139ac6e636709c7a9c6fd568b3ae9e29712cebf4c5b827c1853fd8587f8d1af9025b04821eae64fc633468e606f139ba74c326f93e40ab5
+MISC metadata.xml 536 BLAKE2B 12819e737cd063c61f213bd3b093420cf474bde6c4e483ebfc98348e47d99925912f78abd93cb1461dc37a469c06759224e27688d2a1c5b8408ba9fb7a2522ad SHA512 9b0429fe9287edf3a9883fd4d76e70c447d1b03c4e43506d7969650e65e84b184a4da7ec7b949db47c7fb8fe64d351cff974b30ab1735bff70edf34de32234a3
diff --git a/dev-python/agate-sql/agate-sql-0.5.6.ebuild b/dev-python/agate-sql/agate-sql-0.5.6.ebuild
deleted file mode 100644
index 9dbdd4b64698..000000000000
--- a/dev-python/agate-sql/agate-sql-0.5.6.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_{8..9} )
-DISTUTILS_USE_SETUPTOOLS=bdepend
-
-inherit distutils-r1
-
-DESCRIPTION="Adds SQL read/write support to agate."
-HOMEPAGE="https://github.com/wireservice/agate-sql https://pypi.org/project/agate-sql/"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="test +xml"
-RESTRICT="!test? ( test )"
-
-# Other packages have BDEPEND="test? ( dev-python/agate-sql[xml] )"
-AGATE_VERSION_DEP=">=dev-python/agate-1.5.0"
-TEST_AGAINST_RDEPEND="xml? ( ${AGATE_VERSION_DEP}[xml,${PYTHON_USEDEP}] )"
-RDEPEND="
- ${AGATE_VERSION_DEP}[${PYTHON_USEDEP}]
- >=dev-python/sqlalchemy-1.0.8[${PYTHON_USEDEP}]
-
- ${TEST_AGAINST_RDEPEND}
-"
-BDEPEND="test? ( ${AGATE_VERSION_DEP}[xml,${PYTHON_USEDEP}] )"
-
-distutils_enable_tests pytest
-
-python_prepare_all() {
- local sed_args=(
- -e "/crate/d"
- -e "/nose/d"
- -e "/geojson/d"
- -e "/Sphinx/d"
- -e "/sphinx_rtd_theme/d"
- )
-
- sed "${sed_args[@]}" -i setup.py agate_sql.egg-info/requires.txt || die
- distutils-r1_python_prepare_all
-}
-
-python_test() {
- local pytest_args test_name xfails
-
- xfails=(
- tests/test_agatesql.py::TestSQL::test_to_sql_create_statement_with_dialects
- tests/test_agatesql.py::TestSQL::test_to_sql_create_statement_with_schema
- )
-
- for test_name in "${xfails[@]}"; do
- pytest_args+=(--deselect "${test_name}")
- done
-
- epytest "${pytest_args[@]}" || die
-}
diff --git a/dev-python/agate-sql/agate-sql-0.5.7.ebuild b/dev-python/agate-sql/agate-sql-0.5.7.ebuild
index e58ff6efb206..a5527246e03d 100644
--- a/dev-python/agate-sql/agate-sql-0.5.7.ebuild
+++ b/dev-python/agate-sql/agate-sql-0.5.7.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{8..9} )
+PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Adds SQL read/write support to agate."
@@ -42,16 +42,9 @@ python_prepare_all() {
}
python_test() {
- local pytest_args test_name xfails
-
- xfails=(
+ local deselect=(
tests/test_agatesql.py::TestSQL::test_to_sql_create_statement_with_dialects
tests/test_agatesql.py::TestSQL::test_to_sql_create_statement_with_schema
)
-
- for test_name in "${xfails[@]}"; do
- pytest_args+=(--deselect "${test_name}")
- done
-
- epytest "${pytest_args[@]}"
+ epytest ${deselect[@]/#/--deselect }
}
diff --git a/dev-python/agate-sql/metadata.xml b/dev-python/agate-sql/metadata.xml
index a42278954df3..8d445d6d5b34 100644
--- a/dev-python/agate-sql/metadata.xml
+++ b/dev-python/agate-sql/metadata.xml
@@ -4,6 +4,7 @@
<maintainer type="person">
<email>zmedico@gentoo.org</email>
</maintainer>
+ <stabilize-allarches/>
<upstream>
<bugs-to>https://github.com/wireservice/agate-sql/issues</bugs-to>
<changelog>https://github.com/wireservice/agate-sql/blob/master/CHANGELOG.rst</changelog>