summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2021-10-08 23:05:27 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2021-10-09 09:34:09 +0300
commit700488e14d17c25fd435fc05ae9963839334ae8e (patch)
treed5c5386ee6e170ad93fe5a74d665586b59c5f55e /dev-python/agate-dbf/agate-dbf-0.2.2-r1.ebuild
parentdev-python/agate: remove IUSE=xml (diff)
downloadgentoo-700488e14d17c25fd435fc05ae9963839334ae8e.tar.gz
gentoo-700488e14d17c25fd435fc05ae9963839334ae8e.tar.bz2
gentoo-700488e14d17c25fd435fc05ae9963839334ae8e.zip
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@gentoo.org>
Diffstat (limited to 'dev-python/agate-dbf/agate-dbf-0.2.2-r1.ebuild')
-rw-r--r--dev-python/agate-dbf/agate-dbf-0.2.2-r1.ebuild27
1 files changed, 27 insertions, 0 deletions
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