diff --git a/dev-python/googlesearch/Manifest b/dev-python/googlesearch/Manifest index 0c4abea25..941b6dd7a 100644 --- a/dev-python/googlesearch/Manifest +++ b/dev-python/googlesearch/Manifest @@ -1,2 +1 @@ -DIST googlesearch-2.0.3.tar.gz 49266 BLAKE2B ad1c615e7436c172d5710be389ec49f302ac6eef9c4805368553a579d86176f71a2d7b1c126bc65510ac53395c0f6acc97082b6f7f4baa5b00859308e9e4b40e SHA512 1a9231d5c9fcf64c42a949888d4e95d1819f7db41d245b5a6cd6f2466f0a5f422cca4dd4b73841044afdfdaa7d4a1c5fa483c52c698c36d9e1675c97f34651f0 -DIST googlesearch-3.0.0.tar.gz 48357 BLAKE2B f28d9ff81b06efb842bc5ff0fb99f14abe26f3170579f85678c7a794fb89d5676f15afca592a24048f4f836d14361c31185ad91804b96ebc4269220311a00857 SHA512 352e749650b82cbe91a2b8edd55e7e1958b918669fef6020f965680db1a880a3a2a241dd9875c5fb93e9c04b6f22431647fbf86e25696e9a0896432d5fd15a7c +DIST googlesearch-3.0.0.tar.gz 48321 BLAKE2B 4362afccc9f8fb455173db457407ec6d098302250adfcefde638ddabe511ef0266f0526cf2f6fdac79ff4c88b9c55689ee50f5d78c70d457a765ca2e3b2948ba SHA512 c7b06f55ec454d1d6170d1506955cec8ac4776029d46374eaaab5019999659c18c499a580d3a550b552c01a52585ca0f3a4d8e741639fa666c5009a06b203169 diff --git a/dev-python/googlesearch/googlesearch-2.0.3-r1.ebuild b/dev-python/googlesearch/googlesearch-2.0.3-r1.ebuild deleted file mode 100644 index c28a3410a..000000000 --- a/dev-python/googlesearch/googlesearch-2.0.3-r1.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{9..10} ) -EGO_PN=github.com/MarioVilas/googlesearch - -inherit distutils-r1 - -if [[ ${PV} = *9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/MarioVilas/googlesearch.git" - KEYWORDS="" -else - KEYWORDS="amd64 ~arm64 x86" - EGIT_COMMIT="bce138ac60572bc624a477cdeb553f4b52cf3307" - SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" -fi - -DESCRIPTION="Google search from Python" -HOMEPAGE="https://github.com/MarioVilas/googlesearch" -S="${WORKDIR}/${PN}-${EGIT_COMMIT}" - -LICENSE="BSD" -SLOT="0" -IUSE="" - -RDEPEND=">=dev-python/beautifulsoup4-4.5.1[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND}" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" diff --git a/dev-python/googlesearch/googlesearch-3.0.0-r1.ebuild b/dev-python/googlesearch/googlesearch-3.0.0-r1.ebuild index 1945ccb0d..2ab679bdc 100644 --- a/dev-python/googlesearch/googlesearch-3.0.0-r1.ebuild +++ b/dev-python/googlesearch/googlesearch-3.0.0-r1.ebuild @@ -3,24 +3,18 @@ EAPI=8 -PYTHON_COMPAT=( python3_{8..9} ) -EGO_PN=github.com/MarioVilas/googlesearch - +PYTHON_COMPAT=( python3_{9..10} ) inherit distutils-r1 -KEYWORDS="amd64 ~arm64 x86" -EGIT_COMMIT="b47a156807439f5443611633e1f92f76838fde67" -SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" - DESCRIPTION="Google search from Python" -HOMEPAGE="https://github.com/MarioVilas/googlesearch" -S="${WORKDIR}/${PN}-${EGIT_COMMIT}" +HOMEPAGE="https://github.com/MarioVilas/googlesearch https://pypi.org/project/google/" +SRC_URI="https://github.com/MarioVilas/googlesearch/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0" +KEYWORDS="amd64 ~arm64 x86" IUSE="" -RDEPEND="${PYTHON_DEPS} - >=dev-python/beautifulsoup4-4.5.1[${PYTHON_USEDEP}]" +RDEPEND=">=dev-python/beautifulsoup4-4.5.1[${PYTHON_USEDEP}]" DEPEND="${RDEPEND}" REQUIRED_USE="${PYTHON_REQUIRED_USE}"