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

This commit is contained in:
2022-10-16 09:06:31 +02:00
committed by Andreas Billmeier
parent c965d9942b
commit 5443740ab6
4 changed files with 7 additions and 40 deletions

View File

@@ -1,5 +1,3 @@
DIST googlemaps-2.5.1.tar.gz 26434 BLAKE2B 1d46c1613e589254b08fb63f2e2e028aa0475ef74471d39c57fdcb3e2f998c31a8ea4d0efce27aafd9f95d9fb3271e7b8cf3da7c98d46982641268c11e9a561c SHA512 7580af07fcf6f08447a7a40f84cf2350ec0c07ea80e60154ea827b3d6848afd11e913d0f87cdc5c39ef586be5235986d4ead77ed77f3a45a3c4f0736902277f6
DIST googlemaps-3.0.2.tar.gz 24705 BLAKE2B 3cd94e71e1f045755bdb6d5dbae29669d31ee83247192ddab9abe1ba085b4a94c9c34a50d8dd3d059fd48b9b1d1f115d7ceff3317d4828ebe0b7ed56e31dc1d4 SHA512 71ef70b1499243d7f1087b99919e687b831b3410235a8d9237c6defbb648632aba6353dbea059f0621cbc73a56374ac79aa4996c1ccdad99b0899d199d2731cb
EBUILD googlemaps-2.5.1.ebuild 745 BLAKE2B e49902e2ac4af0ae06ec23f789698324d76ea663c65c0ed84f2f72c819a2ec60b235d2d6868bc81456b4ef9b769ec3b01367359ea7bb8a2823f67b914ff37a4e SHA512 c6d2c7d50f23fcc4749d255506d4e1f766eb6fe7bf8239545582bbb85c7846995fa21fbdbf1a17f8f54bc98d6855c372464367f3a5449780f11bd67f3fdf406f
EBUILD googlemaps-3.0.2.ebuild 745 BLAKE2B e49902e2ac4af0ae06ec23f789698324d76ea663c65c0ed84f2f72c819a2ec60b235d2d6868bc81456b4ef9b769ec3b01367359ea7bb8a2823f67b914ff37a4e SHA512 c6d2c7d50f23fcc4749d255506d4e1f766eb6fe7bf8239545582bbb85c7846995fa21fbdbf1a17f8f54bc98d6855c372464367f3a5449780f11bd67f3fdf406f
EBUILD googlemaps-2.5.1.ebuild 716 BLAKE2B 21c39b53911f482e06109e83dc2180192e2dd1d6886624f39b3d05fba7410bd7abbe26e5703e351f8bdc718281c4aa5ffda439c791d0d853f1e8f1028908e429 SHA512 71ea5a0f9c67da6496cb014884f7f8a56f3710e0a9f864853d5f2b265d0a3a9397b3b8a817753f38164a9a92f525fcdce0b8308968f652cd6991d5f9f1d74048
MISC metadata.xml 329 BLAKE2B 8bac3569bdc02173a8c3ba6019fbab98bd1cf9aef3530d6442804346379dbeb8594954d9a59e4eb038236b9f918530471c6dbfd41ebf9ba953c80dab654eafc1 SHA512 6c047b76a228d9d1eb99c5d39b1e6c362e715e8b9c96edbb8814db6a6dcf5bd1b1f73e31a24c8e69c5fef8297a1c5fb849688704192ca0c4229165eb79b1ac86

View File

@@ -1,9 +1,9 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
EAPI=8
PYTHON_COMPAT=( python3_{8..9} )
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"

View File

@@ -1,31 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{8..9} )
inherit distutils-r1
DESCRIPTION="Python client library for Google Maps API Web Services"
HOMEPAGE="https://github.com/googlemaps/google-maps-services-python https://pypi.org/project/googlemaps/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND=""
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
}