public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-python/agate-dbf/
@ 2023-01-04 14:15 Michał Górny
  0 siblings, 0 replies; 9+ messages in thread
From: Michał Górny @ 2023-01-04 14:15 UTC (permalink / raw
  To: gentoo-commits

commit:     f5fa225d77cb8300e604e2bede1e960cf58723d2
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Jan  4 13:56:54 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Jan  4 14:12:20 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5fa225d

dev-python/agate-dbf: PEP517, py3.11

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/agate-dbf/agate-dbf-0.2.2-r2.ebuild | 35 ++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/dev-python/agate-dbf/agate-dbf-0.2.2-r2.ebuild b/dev-python/agate-dbf/agate-dbf-0.2.2-r2.ebuild
new file mode 100644
index 000000000000..e0e943e117c8
--- /dev/null
+++ b/dev-python/agate-dbf/agate-dbf-0.2.2-r2.ebuild
@@ -0,0 +1,35 @@
+# Copyright 2021-2023 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="Adds read support for DBF files to agate"
+HOMEPAGE="
+	https://github.com/wireservice/agate-dbf/
+	https://pypi.org/project/agate-dbf/
+"
+SRC_URI="
+	https://github.com/wireservice/agate-dbf/archive/${PV}.tar.gz
+		-> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+	>=dev-python/agate-1.5.0[${PYTHON_USEDEP}]
+	>=dev-python/dbfread-2.0.5[${PYTHON_USEDEP}]
+"
+BDEPEND="
+	test? (
+		dev-python/lxml[${PYTHON_USEDEP}]
+	)
+"
+
+distutils_enable_tests pytest


^ permalink raw reply related	[flat|nested] 9+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/agate-dbf/
@ 2024-05-28  7:40 Michał Górny
  0 siblings, 0 replies; 9+ messages in thread
From: Michał Górny @ 2024-05-28  7:40 UTC (permalink / raw
  To: gentoo-commits

commit:     52e94679d4ce490362c9e3b5c5ab09dcff5c79bb
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue May 28 06:33:07 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue May 28 07:40:24 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52e94679

dev-python/agate-dbf: Enable py3.13

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/agate-dbf/agate-dbf-0.2.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/agate-dbf/agate-dbf-0.2.3.ebuild b/dev-python/agate-dbf/agate-dbf-0.2.3.ebuild
index 4aa4e26d3791..59f568ba63fd 100644
--- a/dev-python/agate-dbf/agate-dbf-0.2.3.ebuild
+++ b/dev-python/agate-dbf/agate-dbf-0.2.3.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
 
 inherit distutils-r1
 


^ permalink raw reply related	[flat|nested] 9+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/agate-dbf/
@ 2024-02-24  8:49 Michał Górny
  0 siblings, 0 replies; 9+ messages in thread
From: Michał Górny @ 2024-02-24  8:49 UTC (permalink / raw
  To: gentoo-commits

commit:     1523ff7ff6aa9e2404d7c507eb753571f2446682
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 24 06:35:07 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Feb 24 08:49:15 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1523ff7f

dev-python/agate-dbf: Bump to 0.2.3

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/agate-dbf/Manifest               |  1 +
 dev-python/agate-dbf/agate-dbf-0.2.3.ebuild | 32 +++++++++++++++++++++++++++++
 2 files changed, 33 insertions(+)

diff --git a/dev-python/agate-dbf/Manifest b/dev-python/agate-dbf/Manifest
index 55efe872b2a3..b0cd39106543 100644
--- a/dev-python/agate-dbf/Manifest
+++ b/dev-python/agate-dbf/Manifest
@@ -1 +1,2 @@
 DIST agate-dbf-0.2.2.gh.tar.gz 8727 BLAKE2B 1397e87ebecff43380d17628867317e9b66584f4281609717b86c30cfa286e6d9ab32d8250c99c698c887aceae28ad4af311e0f777525283b30b65c15582895d SHA512 a92c19db922cc3f896fbe21f33afacd757a7fa3d6a26545033a898665a87765ddf4af964e4cba315cee0c70da926c965aaf68b64af86cf2aabbb9a68a65a38fe
+DIST agate-dbf-0.2.3.gh.tar.gz 7255 BLAKE2B ce6ffed843ad96667e33190bf79c2e71d8c3012700d47d7294059088b2e2dd5d9c763bdcca5fec04ed644effddcdf68437353c341fc63a87c2be2d1db87c8c2e SHA512 5d7102ab7cd58b0496759e425b76368f685454bc0a208b79091bf69f8904bc0fc8e8a15b709e3c938648713d2191d1a70553fea7b57f890aa60f7a27e93d9448

diff --git a/dev-python/agate-dbf/agate-dbf-0.2.3.ebuild b/dev-python/agate-dbf/agate-dbf-0.2.3.ebuild
new file mode 100644
index 000000000000..4aa4e26d3791
--- /dev/null
+++ b/dev-python/agate-dbf/agate-dbf-0.2.3.ebuild
@@ -0,0 +1,32 @@
+# Copyright 2021-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1
+
+DESCRIPTION="Adds read support for DBF files to agate"
+HOMEPAGE="
+	https://github.com/wireservice/agate-dbf/
+	https://pypi.org/project/agate-dbf/
+"
+SRC_URI="
+	https://github.com/wireservice/agate-dbf/archive/${PV}.tar.gz
+		-> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64-macos ~x64-macos"
+
+RDEPEND="
+	>=dev-python/agate-1.5.0[${PYTHON_USEDEP}]
+	>=dev-python/dbfread-2.0.5[${PYTHON_USEDEP}]
+"
+
+distutils_enable_sphinx docs \
+	dev-python/furo
+distutils_enable_tests pytest


^ permalink raw reply related	[flat|nested] 9+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/agate-dbf/
@ 2023-10-29  5:28 Michał Górny
  0 siblings, 0 replies; 9+ messages in thread
From: Michał Górny @ 2023-10-29  5:28 UTC (permalink / raw
  To: gentoo-commits

commit:     dda9667dccbc8c37430855fc0fd8341248521d84
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 29 05:16:29 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Oct 29 05:16:29 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dda9667d

dev-python/agate-dbf: Enable py3.12

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/agate-dbf/agate-dbf-0.2.2-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/agate-dbf/agate-dbf-0.2.2-r2.ebuild b/dev-python/agate-dbf/agate-dbf-0.2.2-r2.ebuild
index ebbcc0e848f3..2dc087caa664 100644
--- a/dev-python/agate-dbf/agate-dbf-0.2.2-r2.ebuild
+++ b/dev-python/agate-dbf/agate-dbf-0.2.2-r2.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit distutils-r1
 


^ permalink raw reply related	[flat|nested] 9+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/agate-dbf/
@ 2021-10-09  6:34 Arthur Zamarin
  0 siblings, 0 replies; 9+ messages in thread
From: Arthur Zamarin @ 2021-10-09  6:34 UTC (permalink / raw
  To: gentoo-commits

commit:     700488e14d17c25fd435fc05ae9963839334ae8e
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Oct  8 20:05:27 2021 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Oct  9 06:34:09 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=700488e1

dev-python/agate-dbf: mass cleanup

- remove IUSE="xml" and set lxml as test dep
- use github tarball for fetching all test parts in one shot

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-python/agate-dbf/Manifest                  |  5 +--
 dev-python/agate-dbf/agate-dbf-0.2.2-r1.ebuild | 27 ++++++++++++
 dev-python/agate-dbf/agate-dbf-0.2.2.ebuild    | 57 --------------------------
 3 files changed, 28 insertions(+), 61 deletions(-)

diff --git a/dev-python/agate-dbf/Manifest b/dev-python/agate-dbf/Manifest
index e4b2d936f79..55efe872b2a 100644
--- a/dev-python/agate-dbf/Manifest
+++ b/dev-python/agate-dbf/Manifest
@@ -1,4 +1 @@
-DIST agate-dbf-0.2.2.tar.gz 2863 BLAKE2B 112b03e1a02b70e63f77195a999a60a59b4e02af55da2b9d94e9d535f557c4193129dcb8ce3f91d93cbc6e19196705009574e3b9e5073f9934d00636bb4b2abd SHA512 3e99404dfcd521010bc3eb5899871dfc63581e03604f80b0a42d4db48f486137fd48685024decd380d346ac5c2089a0d19dd9229893e8d5337b9bd9d7b4eb3b6
-DIST agate-dbf-0.2.2_examples%2Ftest.dbf 1314 BLAKE2B 81d5507b88fe7f7c3866d8666feff12bf3b14451affd653d76239f8785037c908509de248ac4bc8dbebeba4b1a84d69a48bf97b83716fe489ceb39f8ccf0e935 SHA512 460f9a624a6fed58d1fe0484ff6f7fa081d595d8f1a04f4f449ef6de037e334abb9da0403622e5af8c7914e02cda2fa38c4058ef1bb650e59e50584b9ae73b2e
-DIST agate-dbf-0.2.2_examples%2Ftestdbf_converted.csv 896 BLAKE2B fe535d9b784088118fcd61b5378d49d92bac801be61e7900200625f267c8f9c454729376b292d809d3e6a6ee2a093e2a813524ff9199223cbc89a9a461feed40 SHA512 ddba24038d4500b97ff8b11b03a5260927a299f1732aa0a6bcb4746c52e04825f2f3d5d211141576736008ff7f56d0970b21c06f4afad53a4e4e0a873815516b
-DIST agate-dbf-0.2.2_tests%2Ftest_table.py 574 BLAKE2B 22a744ae20491632795a0b654d8ab1e8adc090d43d0a18352b83cfc1687c57d33f1159d96cb379743d293203412dbbbaae8c33be195ae9d868584671ff0ea74d SHA512 131d8a553bc9c7538959e1ae29b62c47cea3e14365afca4e92e4f36cc8dab7e4b00efa462db5e9ca0f51b5e3eda892cf91881d65bd1302fa80bd5b0f66fa4076
+DIST agate-dbf-0.2.2.gh.tar.gz 8727 BLAKE2B 1397e87ebecff43380d17628867317e9b66584f4281609717b86c30cfa286e6d9ab32d8250c99c698c887aceae28ad4af311e0f777525283b30b65c15582895d SHA512 a92c19db922cc3f896fbe21f33afacd757a7fa3d6a26545033a898665a87765ddf4af964e4cba315cee0c70da926c965aaf68b64af86cf2aabbb9a68a65a38fe

diff --git a/dev-python/agate-dbf/agate-dbf-0.2.2-r1.ebuild b/dev-python/agate-dbf/agate-dbf-0.2.2-r1.ebuild
new file mode 100644
index 00000000000..387fc82a375
--- /dev/null
+++ b/dev-python/agate-dbf/agate-dbf-0.2.2-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="Adds read support for DBF files to agate."
+HOMEPAGE="https://github.com/wireservice/agate-dbf https://pypi.org/project/agate-dbf/"
+SRC_URI="
+	https://github.com/wireservice/agate-dbf/archive/${PV}.tar.gz
+		-> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+	>=dev-python/agate-1.5.0[${PYTHON_USEDEP}]
+	>=dev-python/dbfread-2.0.5[${PYTHON_USEDEP}]
+"
+BDEPEND="test? ( dev-python/lxml[${PYTHON_USEDEP}] )"
+
+distutils_enable_tests pytest

diff --git a/dev-python/agate-dbf/agate-dbf-0.2.2.ebuild b/dev-python/agate-dbf/agate-dbf-0.2.2.ebuild
deleted file mode 100644
index 04248032f37..00000000000
--- a/dev-python/agate-dbf/agate-dbf-0.2.2.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit distutils-r1
-
-DESCRIPTION="Adds read support for DBF files to agate."
-HOMEPAGE="https://github.com/wireservice/agate-dbf https://pypi.org/project/agate-dbf/"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="+xml"
-
-# Other packages have BDEPEND="test? ( dev-python/agate-dbf[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/dbfread-2.0.5[${PYTHON_USEDEP}]
-
-	${TEST_AGAINST_RDEPEND}
-"
-BDEPEND="test? ( ${AGATE_VERSION_DEP}[xml,${PYTHON_USEDEP}] )"
-
-distutils_enable_tests pytest
-
-AGATE_DBF_TEST_FILES=(
-	examples/test.dbf
-	examples/testdbf_converted.csv
-	tests/test_table.py
-)
-SRC_URI+=" test? ( "
-for extra_file in "${AGATE_DBF_TEST_FILES[@]}"; do
-	SRC_URI+=" https://raw.githubusercontent.com/wireservice/agate-dbf/${PV}/${extra_file} -> ${P}_${extra_file//\//%2F}"
-done
-SRC_URI+=" )"
-
-agate-dbf_src_prepare() {
-	local extra_file
-	if use test; then
-		for extra_file in "${AGATE_DBF_TEST_FILES[@]}"; do
-			mkdir -p "${extra_file%/*}" || die
-			cp "${DISTDIR}/${P}_${extra_file//\//%2F}" "${extra_file}" || die
-			[[${extra_file} == *.py ]] && { true >> "${extra_file%/*}/__init__.py" || die; }
-		done
-	fi
-}
-
-src_prepare() {
-	agate-dbf_src_prepare
-	distutils-r1_src_prepare
-}


^ permalink raw reply related	[flat|nested] 9+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/agate-dbf/
@ 2021-08-02  8:17 Michał Górny
  0 siblings, 0 replies; 9+ messages in thread
From: Michał Górny @ 2021-08-02  8:17 UTC (permalink / raw
  To: gentoo-commits

commit:     c33899717ea36da9f083c64708a01613f2cc33b4
Author:     Arthur Zamarin <arthurzam <AT> gmail <DOT> com>
AuthorDate: Fri Jul 30 17:40:53 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Aug  2 08:16:53 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3389971

dev-python/agate-dbf: bump EAPI=8, add python 3.10

Signed-off-by: Arthur Zamarin <arthurzam <AT> gmail.com>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/agate-dbf/agate-dbf-0.2.2.ebuild | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/dev-python/agate-dbf/agate-dbf-0.2.2.ebuild b/dev-python/agate-dbf/agate-dbf-0.2.2.ebuild
index 772d11bd4f5..04248032f37 100644
--- a/dev-python/agate-dbf/agate-dbf-0.2.2.ebuild
+++ b/dev-python/agate-dbf/agate-dbf-0.2.2.ebuild
@@ -1,20 +1,20 @@
 # 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
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
 
 inherit distutils-r1
 
 DESCRIPTION="Adds read support for DBF files to agate."
 HOMEPAGE="https://github.com/wireservice/agate-dbf https://pypi.org/project/agate-dbf/"
 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="test +xml"
-RESTRICT="!test? ( test )"
+IUSE="+xml"
 
 # Other packages have BDEPEND="test? ( dev-python/agate-dbf[xml] )"
 AGATE_VERSION_DEP=">=dev-python/agate-1.5.0"


^ permalink raw reply related	[flat|nested] 9+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/agate-dbf/
@ 2021-08-02  8:17 Michał Górny
  0 siblings, 0 replies; 9+ messages in thread
From: Michał Górny @ 2021-08-02  8:17 UTC (permalink / raw
  To: gentoo-commits

commit:     018a26d7b7e933c78b88288477aeaeec29bfc2c3
Author:     Arthur Zamarin <arthurzam <AT> gmail <DOT> com>
AuthorDate: Fri Jul 30 17:56:13 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Aug  2 08:16:54 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=018a26d7

dev-python/agate-dbf: mark ALLARCHES

Signed-off-by: Arthur Zamarin <arthurzam <AT> gmail.com>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/agate-dbf/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/agate-dbf/metadata.xml b/dev-python/agate-dbf/metadata.xml
index 93b393c9134..5f83acacc3a 100644
--- a/dev-python/agate-dbf/metadata.xml
+++ b/dev-python/agate-dbf/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-dbf/issues</bugs-to>
 		<changelog>https://github.com/wireservice/agate-dbf/blob/master/CHANGELOG.rst</changelog>


^ permalink raw reply related	[flat|nested] 9+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/agate-dbf/
@ 2021-06-22  2:27 Zac Medico
  0 siblings, 0 replies; 9+ messages in thread
From: Zac Medico @ 2021-06-22  2:27 UTC (permalink / raw
  To: gentoo-commits

commit:     9be12e004d03f9471d9b688c6d1ff9a8412a5f2c
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 22 02:11:44 2021 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Tue Jun 22 02:23:39 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9be12e00

dev-python/agate-dbf: Enable unit tests (bug 797376)

tests/test_table.py::TestDBF::test_from_dbf PASSED                                                                                                                                     [100%]

Closes: https://bugs.gentoo.org/797376
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 dev-python/agate-dbf/Manifest               |  3 +++
 dev-python/agate-dbf/agate-dbf-0.2.2.ebuild | 41 ++++++++++++++++++++++++++---
 2 files changed, 41 insertions(+), 3 deletions(-)

diff --git a/dev-python/agate-dbf/Manifest b/dev-python/agate-dbf/Manifest
index 455e50e3c9d..e4b2d936f79 100644
--- a/dev-python/agate-dbf/Manifest
+++ b/dev-python/agate-dbf/Manifest
@@ -1 +1,4 @@
 DIST agate-dbf-0.2.2.tar.gz 2863 BLAKE2B 112b03e1a02b70e63f77195a999a60a59b4e02af55da2b9d94e9d535f557c4193129dcb8ce3f91d93cbc6e19196705009574e3b9e5073f9934d00636bb4b2abd SHA512 3e99404dfcd521010bc3eb5899871dfc63581e03604f80b0a42d4db48f486137fd48685024decd380d346ac5c2089a0d19dd9229893e8d5337b9bd9d7b4eb3b6
+DIST agate-dbf-0.2.2_examples%2Ftest.dbf 1314 BLAKE2B 81d5507b88fe7f7c3866d8666feff12bf3b14451affd653d76239f8785037c908509de248ac4bc8dbebeba4b1a84d69a48bf97b83716fe489ceb39f8ccf0e935 SHA512 460f9a624a6fed58d1fe0484ff6f7fa081d595d8f1a04f4f449ef6de037e334abb9da0403622e5af8c7914e02cda2fa38c4058ef1bb650e59e50584b9ae73b2e
+DIST agate-dbf-0.2.2_examples%2Ftestdbf_converted.csv 896 BLAKE2B fe535d9b784088118fcd61b5378d49d92bac801be61e7900200625f267c8f9c454729376b292d809d3e6a6ee2a093e2a813524ff9199223cbc89a9a461feed40 SHA512 ddba24038d4500b97ff8b11b03a5260927a299f1732aa0a6bcb4746c52e04825f2f3d5d211141576736008ff7f56d0970b21c06f4afad53a4e4e0a873815516b
+DIST agate-dbf-0.2.2_tests%2Ftest_table.py 574 BLAKE2B 22a744ae20491632795a0b654d8ab1e8adc090d43d0a18352b83cfc1687c57d33f1159d96cb379743d293203412dbbbaae8c33be195ae9d868584671ff0ea74d SHA512 131d8a553bc9c7538959e1ae29b62c47cea3e14365afca4e92e4f36cc8dab7e4b00efa462db5e9ca0f51b5e3eda892cf91881d65bd1302fa80bd5b0f66fa4076

diff --git a/dev-python/agate-dbf/agate-dbf-0.2.2.ebuild b/dev-python/agate-dbf/agate-dbf-0.2.2.ebuild
index 40f14f91612..772d11bd4f5 100644
--- a/dev-python/agate-dbf/agate-dbf-0.2.2.ebuild
+++ b/dev-python/agate-dbf/agate-dbf-0.2.2.ebuild
@@ -13,10 +13,45 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE=""
-RDEPEND=""
+IUSE="test +xml"
+RESTRICT="!test? ( test )"
 
+# Other packages have BDEPEND="test? ( dev-python/agate-dbf[xml] )"
+AGATE_VERSION_DEP=">=dev-python/agate-1.5.0"
+TEST_AGAINST_RDEPEND="xml? ( ${AGATE_VERSION_DEP}[xml,${PYTHON_USEDEP}] )"
 RDEPEND="
-	>=dev-python/agate-1.5.0[${PYTHON_USEDEP}]
+	${AGATE_VERSION_DEP}[${PYTHON_USEDEP}]
 	>=dev-python/dbfread-2.0.5[${PYTHON_USEDEP}]
+
+	${TEST_AGAINST_RDEPEND}
 "
+BDEPEND="test? ( ${AGATE_VERSION_DEP}[xml,${PYTHON_USEDEP}] )"
+
+distutils_enable_tests pytest
+
+AGATE_DBF_TEST_FILES=(
+	examples/test.dbf
+	examples/testdbf_converted.csv
+	tests/test_table.py
+)
+SRC_URI+=" test? ( "
+for extra_file in "${AGATE_DBF_TEST_FILES[@]}"; do
+	SRC_URI+=" https://raw.githubusercontent.com/wireservice/agate-dbf/${PV}/${extra_file} -> ${P}_${extra_file//\//%2F}"
+done
+SRC_URI+=" )"
+
+agate-dbf_src_prepare() {
+	local extra_file
+	if use test; then
+		for extra_file in "${AGATE_DBF_TEST_FILES[@]}"; do
+			mkdir -p "${extra_file%/*}" || die
+			cp "${DISTDIR}/${P}_${extra_file//\//%2F}" "${extra_file}" || die
+			[[${extra_file} == *.py ]] && { true >> "${extra_file%/*}/__init__.py" || die; }
+		done
+	fi
+}
+
+src_prepare() {
+	agate-dbf_src_prepare
+	distutils-r1_src_prepare
+}


^ permalink raw reply related	[flat|nested] 9+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/agate-dbf/
@ 2021-06-21  7:42 Zac Medico
  0 siblings, 0 replies; 9+ messages in thread
From: Zac Medico @ 2021-06-21  7:42 UTC (permalink / raw
  To: gentoo-commits

commit:     9362fb2a3be8f129f788a867d8c3741e6b3d98fb
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 21 07:28:45 2021 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Mon Jun 21 07:40:53 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9362fb2a

dev-python/agate-dbf: Initial import

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 dev-python/agate-dbf/Manifest               |  1 +
 dev-python/agate-dbf/agate-dbf-0.2.2.ebuild | 22 ++++++++++++++++++++++
 dev-python/agate-dbf/metadata.xml           | 13 +++++++++++++
 3 files changed, 36 insertions(+)

diff --git a/dev-python/agate-dbf/Manifest b/dev-python/agate-dbf/Manifest
new file mode 100644
index 00000000000..455e50e3c9d
--- /dev/null
+++ b/dev-python/agate-dbf/Manifest
@@ -0,0 +1 @@
+DIST agate-dbf-0.2.2.tar.gz 2863 BLAKE2B 112b03e1a02b70e63f77195a999a60a59b4e02af55da2b9d94e9d535f557c4193129dcb8ce3f91d93cbc6e19196705009574e3b9e5073f9934d00636bb4b2abd SHA512 3e99404dfcd521010bc3eb5899871dfc63581e03604f80b0a42d4db48f486137fd48685024decd380d346ac5c2089a0d19dd9229893e8d5337b9bd9d7b4eb3b6

diff --git a/dev-python/agate-dbf/agate-dbf-0.2.2.ebuild b/dev-python/agate-dbf/agate-dbf-0.2.2.ebuild
new file mode 100644
index 00000000000..40f14f91612
--- /dev/null
+++ b/dev-python/agate-dbf/agate-dbf-0.2.2.ebuild
@@ -0,0 +1,22 @@
+# 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 read support for DBF files to agate."
+HOMEPAGE="https://github.com/wireservice/agate-dbf https://pypi.org/project/agate-dbf/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+RDEPEND=""
+
+RDEPEND="
+	>=dev-python/agate-1.5.0[${PYTHON_USEDEP}]
+	>=dev-python/dbfread-2.0.5[${PYTHON_USEDEP}]
+"

diff --git a/dev-python/agate-dbf/metadata.xml b/dev-python/agate-dbf/metadata.xml
new file mode 100644
index 00000000000..93b393c9134
--- /dev/null
+++ b/dev-python/agate-dbf/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>zmedico@gentoo.org</email>
+	</maintainer>
+	<upstream>
+		<bugs-to>https://github.com/wireservice/agate-dbf/issues</bugs-to>
+		<changelog>https://github.com/wireservice/agate-dbf/blob/master/CHANGELOG.rst</changelog>
+		<remote-id type="pypi">agate-dbf</remote-id>
+		<remote-id type="github">wireservice/agate-dbf</remote-id>
+	</upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-05-28  7:40 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-04 14:15 [gentoo-commits] repo/gentoo:master commit in: dev-python/agate-dbf/ Michał Górny
  -- strict thread matches above, loose matches on Subject: below --
2024-05-28  7:40 Michał Górny
2024-02-24  8:49 Michał Górny
2023-10-29  5:28 Michał Górny
2021-10-09  6:34 Arthur Zamarin
2021-08-02  8:17 Michał Górny
2021-08-02  8:17 Michał Górny
2021-06-22  2:27 Zac Medico
2021-06-21  7:42 Zac Medico

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox