diff options
Diffstat (limited to 'dev-python/sqlalchemy-rqlite')
-rw-r--r-- | dev-python/sqlalchemy-rqlite/Manifest | 4 | ||||
-rw-r--r-- | dev-python/sqlalchemy-rqlite/sqlalchemy-rqlite-1.0.ebuild | 24 | ||||
-rw-r--r-- | dev-python/sqlalchemy-rqlite/sqlalchemy-rqlite-9999.ebuild | 24 |
3 files changed, 18 insertions, 34 deletions
diff --git a/dev-python/sqlalchemy-rqlite/Manifest b/dev-python/sqlalchemy-rqlite/Manifest index c76ac7ae2765..23dd7b9c4fb6 100644 --- a/dev-python/sqlalchemy-rqlite/Manifest +++ b/dev-python/sqlalchemy-rqlite/Manifest @@ -1,4 +1,4 @@ DIST sqlalchemy-rqlite-1.0.tar.gz 3910 BLAKE2B c2a07ba91812ea2223bdea4e715b364a96b66057f2ed1c7bc0d373860880f3e0d7188ea8d513b127d8c7138695b9703b4a2ed5f6a4a001a8b2ae68020189a058 SHA512 794d0a1d80803f624af4b530efe277947d3a8fa7001df2177de6bdb34ffc9fc76e22c8b73caad7cda02429ddc251fdcbdd8e95ea286a6540054efb28ee53d2bb -EBUILD sqlalchemy-rqlite-1.0.ebuild 1044 BLAKE2B 9f69d8d734ecca2e86760f782a6124b1b5c831aaf4be5de25ca60b0701aaa6b4332fe261ae3d36b43e8a1335a97c6b9631a2536ce56031bee69bcdd565f68a98 SHA512 2cf15554358756245129bddca0b922492c89d6a88dd6276d578763833ceb847b5752fa0a010a34e240eb40ac34b29b1af98e8ff83adda722467c9b1e8b58fdca -EBUILD sqlalchemy-rqlite-9999.ebuild 964 BLAKE2B dbc174487c58499974c6be32a281ac8c5c9d5d1579545d701500bb062d6af846ca1623679a50d80b4df29309c8914ad1aafbc4a48c6d484ef9599f9e6d7cd76f SHA512 1ba4e29ff0a8b0537a54a06b6d715c9eec1e5e4552cc7d47bdc47b36233bcf3e24d68effbe1601f8366ca9119176035649372ee8ca96d951a1f92b51b43c563f +EBUILD sqlalchemy-rqlite-1.0.ebuild 801 BLAKE2B e18838539761692203fc5ea96ab7870848fc63b895e83809ccad91f589de61775f6e5604c724c81fd450c055e8a1c4518e06ad3019f16b36c23ce6f0c88cc540 SHA512 a42a2963ac095b31a97313b11252723e13c58be214bd0571b21087263c65043e8abfb9f28d0e2cf25de461c8f6d801beda580f386d54a9c2763edddb64157d36 +EBUILD sqlalchemy-rqlite-9999.ebuild 721 BLAKE2B 37d92b51f49e276410d47cf2393d9f02a1bf5acb525a7f9d1b11b0af528b4732f526b7da95cbd5fcba32d39d36cdcefccf667fe3bd67b0d698099fe870781cbc SHA512 c14fae209b0cf1e3a848cbbfff40f05db76e8abe323df162d567605e32e638df43564b58ec6e85aa6ebdd36af55f43dfb810b587b142bc6f428e12cd4d4aa17b MISC metadata.xml 307 BLAKE2B 29ea763c455895cfa0961f68cb2933a3354eb233efa9bf18398146aee9a4caf8a50d53dd4542d76e3cd5cd2c0b412ad435cb377f27559209df3e92438c5c712d SHA512 ed97acffcf63e1d7d8ec644d8e050848645f93d77b2114e11e49fc841cdc35f7e2a5be4a1fedc235b1ceb4bbf14a03db47d6aa805b48537acd164357638582d9 diff --git a/dev-python/sqlalchemy-rqlite/sqlalchemy-rqlite-1.0.ebuild b/dev-python/sqlalchemy-rqlite/sqlalchemy-rqlite-1.0.ebuild index 6a9c5db39ea2..be1c7ec77701 100644 --- a/dev-python/sqlalchemy-rqlite/sqlalchemy-rqlite-1.0.ebuild +++ b/dev-python/sqlalchemy-rqlite/sqlalchemy-rqlite-1.0.ebuild @@ -1,8 +1,10 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 -PYTHON_COMPAT=( python3_6 ) +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{6,7,8} ) inherit distutils-r1 @@ -18,24 +20,14 @@ SRC_URI="${EGIT_REPO_URI%.git}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] +RDEPEND=" dev-python/pyrqlite[${PYTHON_USEDEP}] - dev-python/sqlalchemy[${PYTHON_USEDEP}] - test? ( - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/pytest-cov[${PYTHON_USEDEP}] - dev-python/pylint[${PYTHON_USEDEP}] - )" + dev-python/sqlalchemy[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest src_prepare() { sed -e "s:^__version__ = .*:__version__ = '${PV}':" -i src/sqlalchemy_rqlite/constants.py || die distutils-r1_src_prepare } - -python_test() { - esetup.py test || die "tests failed" - esetup.py lint -f text -E || die "pylint failed" -} diff --git a/dev-python/sqlalchemy-rqlite/sqlalchemy-rqlite-9999.ebuild b/dev-python/sqlalchemy-rqlite/sqlalchemy-rqlite-9999.ebuild index 8e6f85629134..76e6ab45fc94 100644 --- a/dev-python/sqlalchemy-rqlite/sqlalchemy-rqlite-9999.ebuild +++ b/dev-python/sqlalchemy-rqlite/sqlalchemy-rqlite-9999.ebuild @@ -1,8 +1,10 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 -PYTHON_COMPAT=( python3_6 ) +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{6,7,8} ) inherit distutils-r1 @@ -17,24 +19,14 @@ HOMEPAGE="https://github.com/rqlite/sqlalchemy-rqlite" LICENSE="MIT" SLOT="0" KEYWORDS="" -IUSE="test" -RESTRICT="!test? ( test )" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] +RDEPEND=" dev-python/pyrqlite[${PYTHON_USEDEP}] - dev-python/sqlalchemy[${PYTHON_USEDEP}] - test? ( - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/pytest-cov[${PYTHON_USEDEP}] - dev-python/pylint[${PYTHON_USEDEP}] - )" + dev-python/sqlalchemy[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest src_prepare() { sed -e "s:^__version__ = .*:__version__ = '${PV}':" -i src/sqlalchemy_rqlite/constants.py || die distutils-r1_src_prepare } - -python_test() { - esetup.py test || die "tests failed" - esetup.py lint -f text -E || die "pylint failed" -} |