dev-python/smhi-pkg: change SRC_URI, drop olds

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2023-11-03 16:47:05 +01:00 committed by Andreas Billmeier
parent 185fc6a21f
commit e3fcb9bbc9
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 8 additions and 48 deletions

View File

@ -612,11 +612,11 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
## Licenses
This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted.
There are 1872 Ebuilds in total, 1861 of them have in total 1880 (40 different) licenses assigned.
There are 1871 Ebuilds in total, 1860 of them have in total 1879 (40 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1077|
|MIT|1076|
|Apache-2.0|408|
|GPL-3|121|
|BSD|100|

View File

@ -1,5 +1,3 @@
DIST smhi-pkg-1.0.15.tar.gz 4880 BLAKE2B 42908570200e5d15f73e6a59e711f21f248ade2bff204885791a85e5507049d7ac7cb5887d13cb6d911d676875f4a098d6076c3f48bff905cb8f3257f2601f8c SHA512 ef3732d3bacad2128de5f3570115508063e0ea8e0a0593d4496463bf0844e8045a98aa665c4f3fc0309d99d8883966529f752f610b631e48e422844e6c8c3683
DIST smhi-pkg-1.0.16.tar.gz 5633 BLAKE2B 8b289c8bab06bd71c9b4e709cbe68a4d921dbf3d4e3f81011d3c6ee8ce460d26985c02ab3cd3e3ff39c217051ce45060cbb2bf0fe37d081285a04c34eaebf656 SHA512 7c52e8506e18eb4b9d77b04dc099ff75808cdd55eb002f89e866ad15b98e20bd259a4a3b0f2db053ec2ba6f3f7d6e168fb3be11a5a6e48d6ff505963ce9f5548
EBUILD smhi-pkg-1.0.15.ebuild 760 BLAKE2B 193edbd642f33d39def0b526f0cdfd58d9e3257197b711b28e3e3cb96c5cd4d4d86ef2e4021cef6e63915022d4da694ba8fc03bcbf45c5623a427b7e0818dcf8 SHA512 8959e680c4bfa0d9f5fcde395be7aebcf8f9efb1d48f311f4744cb164170c351935e0666ee635871a216892503366cd283a8dc9581c99c0301f5a7de7e1e860e
EBUILD smhi-pkg-1.0.16.ebuild 791 BLAKE2B bce50c2e808dc49533285883061d639bc72bf39c1c379091a28567ee708c831638dcca94cf77866352ca8add1faac33e53b8a3d0c82030506c3dbd9c3ec20c33 SHA512 6e0233b1c25497f026c13b0c385fd1677ea48edb7f7626caa336a52d6523815a7ccf0c7e5a85a319aaa04904b858fcc8a8f8a3d2041773a0691e3bc89c691bc9
DIST smhi_pkg-1.0.16.tar.gz 5633 BLAKE2B 8b289c8bab06bd71c9b4e709cbe68a4d921dbf3d4e3f81011d3c6ee8ce460d26985c02ab3cd3e3ff39c217051ce45060cbb2bf0fe37d081285a04c34eaebf656 SHA512 7c52e8506e18eb4b9d77b04dc099ff75808cdd55eb002f89e866ad15b98e20bd259a4a3b0f2db053ec2ba6f3f7d6e168fb3be11a5a6e48d6ff505963ce9f5548
EBUILD smhi-pkg-1.0.16.ebuild 663 BLAKE2B a346813ff185d27249df80a218860572d5a09b0f197bde83607f13c0b2b5d7d9452bee878d276ab05a2e94e20f9de453738089fc8440653bc5e8741d58607f6e SHA512 c36b7e545ced355b00d2a432d14ea310af7466ee499ab7b3d755844e4594238f36ad7e3157990e7d17d833deeb9753a0b4b6daa8177c7fc876400d71233d1677
MISC metadata.xml 514 BLAKE2B d1980bdd60c36b03d482f8544a327841fb46b9e04d8d2a89ced44b474aefe6002ebfaf4b67b1db9ef4daae2d68750b6dccb60681c391bd9ea751223968e18dc6 SHA512 e2a2d1c1305053377ba129b297cfc55ce7deeaf6094d37accd5f91cfb525f6686f1748dd714c24276bf4e1415e01fbd6a7b27d4b5bbaebe69bddce35f1f22576

View File

@ -1,33 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1
DESCRIPTION="Gets the weather forecast data from Swedish weather institute"
HOMEPAGE="https://github.com/joysoftware/pypi_smhi https://pypi.org/project/smhi-pkg/"
MY_PN=${PN/-/_}
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
RDEPEND="dev-python/requests[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
py.test -v -v || die
}

View File

@ -1,17 +1,13 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1
PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi
DESCRIPTION="Gets the weather forecast data from Swedish weather institute"
HOMEPAGE="https://github.com/joysoftware/pypi_smhi https://pypi.org/project/smhi-pkg/"
MY_PN=${PN/-/_}
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="MIT"
SLOT="0"
@ -23,7 +19,6 @@ DOCS="README.md"
RDEPEND="dev-python/requests[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/pytest[${PYTHON_USEDEP}]
)"