dev-python/dwdwfsapi: remove olds, cleanup, enable pytest

This commit is contained in:
2022-10-15 23:32:52 +02:00
committed by Andreas Billmeier
parent 0386751839
commit a759040905
4 changed files with 7 additions and 45 deletions

View File

@@ -1,5 +1,3 @@
DIST dwdwfsapi-1.0.4.tar.gz 9522 BLAKE2B b5aefd7e762bc754c83c3b34246de6c657884292d8a54a63b58b35ed07f48a63855bf5cfba89ad340ef3fed876cf0f9d4d4309af89245011f9370b4c2433d6e1 SHA512 6066ade098798258f1213cadb5814b0c24350e2594d61a8d4128d22632949911ca91ee856bf0437f32d676d2f2e7d51c9c989273a423d03870b1d43204660c06
DIST dwdwfsapi-1.0.5.tar.gz 9638 BLAKE2B 7135d78155010ace26941d7324daf511d8aa96e1fe6f64fdc8aa6252b5ea7814cbda9ff0dd2fdaceb6aea0a7de01b7a768e124f02648256b5063df74600f2102 SHA512 bc2e95411e1255d3a1626940a3676280ff087a5c58c2c502844e26587626bcc9ddfe08527254502e616e9511c99cb7f72bb18cc4d9e9bca95d47d81e7401e753
EBUILD dwdwfsapi-1.0.4.ebuild 1023 BLAKE2B 0dd549d2d8d5d155a89e65385e7fa56db78d9da26712a6927842654f2aa39590c582211f07fcd477bac21a3b783b8ca3b68688f3f0e0a2a07e58e06f15b751b9 SHA512 3d0c3a8ae10e608215139b14b9b7f5cb1102c8d021342d70f374405ae927acb8fb946f087d88e3f3c29bd21a4ee7447aa68923f1ec107e6807d9254d89ab2836
EBUILD dwdwfsapi-1.0.5.ebuild 1017 BLAKE2B a877792814e71ae153512d2f02479133cd08d381c85a3b200a167835873bbc1f511e1841f21c6320fad5a9b9cd3c6772b0c1ea36a3504406de364d07072aa96d SHA512 a7387e5520f12c9452fcd2091b4f6cf485c5a33519bfb64e0e77c6b2641aeb82ec6cb3299f16172a613263d06f3f1aab79b7a291c49aebef59eda608c758ca31
EBUILD dwdwfsapi-1.0.5.ebuild 1024 BLAKE2B 557550f44e1de9aa23f7c15029efbcaf028dac801d026fe360d2b18aa730e0e9cac69e8ba7c731b29d4d70667d8b5bef0844c61e016e602ad873d8e30666f5c8 SHA512 fed297ec36ece1a67a1d47ca6141f35958b98744964dd492ab4d9857908008ec188e1711cb4eddde2d8667f7faafba766fcc4af2ce72570d257fe00af3b47481
MISC metadata.xml 454 BLAKE2B f853adb6834b7278e5b51fcd37ee874dcde3baa6f117af2f31a0501aab81ac93c3fe2edc995dcd667444ec745c0dbd62da7fcd83fa5aba9cbbb23938246b1435 SHA512 c89dc3139ce66b4ca2d0b12f93b41fe9300c528f421352da462b58591093b2c681cb7e17251fd8f1716b4eb22a21bdf9bf0b50ca6e8bdf44b4ef8bc89f64f967

View File

@@ -1,38 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Python client to retrieve data provided by DWD via their geoserver WFS API"
HOMEPAGE="https://github.com/stephan192/dwdwfsapi https://pypi.org/project/dwdwfsapi/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
RDEPEND=">=dev-python/requests-2.23.0[${PYTHON_USEDEP}]
<dev-python/requests-3[${PYTHON_USEDEP}]
>=dev-python/ciso8601-2.1.3[${PYTHON_USEDEP}]
<dev-python/ciso8601-3[${PYTHON_USEDEP}]
>=dev-python/urllib3-1.25.8[${PYTHON_USEDEP}]
<dev-python/urllib3-2[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
nosetests --verbose || die
py.test -v -v || die
}

View File

@@ -3,7 +3,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86 ~amd64-linux ~x86-linux"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
@@ -36,3 +36,5 @@ python_test() {
nosetests --verbose || die
py.test -v -v || die
}
distutils_enable_tests pytest