dev-python: drop py2 for csvkit deps

This commit is contained in:
Yury Martynov 2020-03-02 10:12:38 +03:00
parent 814bb984ab
commit 29184ecb08
No known key found for this signature in database
GPG key ID: EBE62DD0CCEAE19E
5 changed files with 44 additions and 24 deletions

View file

@ -1,9 +1,9 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
PYTHON_COMPAT=( python3_{6,7,8} )
inherit distutils-r1
@ -13,8 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~arm64 ~mips ~x86"
LICENSE="MIT"
SLOT=0
IUSE=""
SLOT="0"
RDEPEND="${PYTHON_DEPS}
dev-python/dbfread[${PYTHON_USEDEP}]"

View file

@ -1,9 +1,9 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
PYTHON_COMPAT=( python3_{6,7} )
inherit distutils-r1
@ -11,12 +11,17 @@ DESCRIPTION="Adds read support for Excel files (xls and xlsx) to agate"
HOMEPAGE="https://agate-excel.readthedocs.io/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~arm64 ~mips ~x86"
LICENSE="MIT"
SLOT=0
IUSE=""
SLOT="0"
KEYWORDS="~amd64 ~mips ~x86"
IUSE="test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RESTRICT="!test? ( test )"
RDEPEND="${PYTHON_DEPS}
dev-python/agate[${PYTHON_USEDEP}]
dev-python/xlrd[${PYTHON_USEDEP}]
dev-python/openpyxl[${PYTHON_USEDEP}]"
distutils_enable_tests unittest

View file

@ -1,9 +1,9 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
PYTHON_COMPAT=( python3_{6,7} )
inherit distutils-r1
@ -11,11 +11,10 @@ DESCRIPTION="Adds SQL read/write support to agate"
HOMEPAGE="http://agate-sql.readthedocs.io/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~arm64 ~mips ~x86"
LICENSE="MIT"
SLOT=0
IUSE=""
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~mips ~x86"
RDEPEND="${PYTHON_DEPS}
dev-python/agate[${PYTHON_USEDEP}]
dev-python/sqlalchemy[${PYTHON_USEDEP}]"
>=dev-python/sqlalchemy-1.0.8[${PYTHON_USEDEP}]"

View file

@ -1,9 +1,9 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python{2_7,3_{5,6,7}} )
PYTHON_COMPAT=( python3_{6,7} )
inherit distutils-r1
@ -12,9 +12,12 @@ HOMEPAGE="https://agate.readthedocs.io/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT=0
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~mips ~x86"
IUSE=""
IUSE="test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RESTRICT="!test? ( test )"
RDEPEND="${PYTHON_DEPS}
dev-python/Babel[${PYTHON_USEDEP}]
@ -33,3 +36,5 @@ RDEPEND="${PYTHON_DEPS}
dev-python/lxml[${PYTHON_USEDEP}]
dev-python/cssselect[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]"
distutils_enable_tests unittest

View file

@ -1,9 +1,9 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
PYTHON_COMPAT=( python3_{6,7,8} )
inherit distutils-r1
@ -11,8 +11,20 @@ DESCRIPTION="Read DBF Files with Python"
HOMEPAGE="https://dbfread.readthedocs.io/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~arm64 ~mips ~x86"
LICENSE="MIT"
SLOT=0
IUSE=""
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~mips ~x86"
# IUSE="test"
# REQUIRED_USE="${PYTHON_REQUIRED_USE}"
# RESTRICT="!test? ( test )"
RDEPEND="${PYTHON_DEPS}"
## TODO
# distutils_enable_tests pytest
# src_prepare() {
# default
# use test && eapply "${FILESDIR}/${P}_fix_tests.patch"
# }