dev-python/shortuuid: new package, add 1.0.12

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2024-03-10 19:59:08 +01:00
parent b3bebd78f2
commit 9b8c0be034
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 49 additions and 3 deletions

View File

@ -617,14 +617,14 @@ 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 1898 Ebuilds in total, 1887 of them have in total 1906 (42 different) licenses assigned.
There are 1900 Ebuilds in total, 1889 of them have in total 1908 (42 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1069|
|Apache-2.0|439|
|Apache-2.0|440|
|GPL-3|126|
|BSD|104|
|BSD|105|
|LGPL-3|25|
|GPL-2|21|
|all-rights-reserved|13|

View File

@ -0,0 +1,3 @@
DIST shortuuid-1.0.12.tar.gz 9738 BLAKE2B ea6cf31ed47a9b65ba18f181bc8c28652cd5b273b2d8c0bb3f7492f56c0627d72453643f4be999e633b7eb1a967df1cb666d5000f5b8af71adb46c623b991d22 SHA512 b3dece679fb2c51c9c662b0468f4a33d2dcd972ec42d94dec879d0db321bbe4348465cdfced78d28c2df908631e6ba525b2951acb32e081b0dcdfeb7312f8804
EBUILD shortuuid-1.0.12.ebuild 612 BLAKE2B d14aaa7a73805b36e06292a507c9e4efaa6f41cd9d1ef4d00d6d12952b59aa652fd7f4d5735d1cc2e326ab796eaf792fded5284a25fc175c0529047d3ac60856 SHA512 35ecea951d48dc0fdf716868dd0c972284a3b378deaeb4b7afb25251e0b4d2824098b829daf3db31a5fbfcd124dc281483abd927d8a368cf318b7039011c7f02
MISC metadata.xml 520 BLAKE2B 1cafc3fc1e8256f50a5a27fcaeb9b007c724f54b1bb6c7ebe0824b496358a524a17a67650a65eaeb59d5bfcac684307e1cfd394163e1995152266fa8441085c8 SHA512 7bb2be97f920d6f04b5b3f52325ae7fd2126d5c2ca7384cbc65fbb0b6b5277f209c62e09d8df7104f51cb0051fd251bf01e4e65849f122558aa8f195b272558d

View File

@ -0,0 +1,16 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<upstream>
<remote-id type="pypi">shortuuid</remote-id>
<remote-id type="github">skorokithakis/shortuuid</remote-id>
<maintainer status="unknown">
<email>hi@stavros.io</email>
<name>Stavros Korokithakis</name>
</maintainer>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,27 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{11..12} )
DISTUTILS_USE_PEP517=poetry
inherit distutils-r1 pypi
DESCRIPTION="A generator library for concise, unambiguous and URL-safe UUIDs."
HOMEPAGE="https://github.com/skorokithakis/shortuuid/ https://pypi.org/project/shortuuid/"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
src_prepare() {
remove unneccesary include
sed "20d" -i pyproject.toml || die
eapply_user
}
distutils_enable_tests pytest