dev-python/pyFortiManagerAPI: new pkg, add 0.2.3

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2024-03-06 11:59:47 +01:00
parent a10bff9c3d
commit 3efcd2d618
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 49 additions and 5 deletions

View File

@ -617,12 +617,12 @@ 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 1825 Ebuilds in total, 1814 of them have in total 1833 (42 different) licenses assigned.
There are 1827 Ebuilds in total, 1816 of them have in total 1835 (42 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1037|
|Apache-2.0|409|
|MIT|1038|
|Apache-2.0|410|
|GPL-3|120|
|BSD|103|
|LGPL-3|24|
@ -664,9 +664,9 @@ There are 1825 Ebuilds in total, 1814 of them have in total 1833 (42 different)
|GPL-2+|1|
|GPL-2-with-linking-exception|1|
(Last counted: 28/02/2024)
(Last counted: 06/03/2024)
I did my best to keep these clean. If a valid license was published on PyPI, it has been automatically merged. Otherwise I took it from GitHub or alternatively from comments/files in the source. Sometimes these differed and have been not unique. All license strings are adjusted to the list in `/usr/portage/gentoo/licenses/`. Some packages do not have any license published. In this case, Authors have been asked for clarification, some did not respond. Following the [official Gentoo Guide](https://devmanual.gentoo.org/general-concepts/licenses/index.html), these then were added with an `all-rights-reserved` license and `RESTRICT="mirror"` was set. Find the appropriate licenses referenced in the Ebuild files and in the corresponding homepages or sources.
A big thanks goes to Iris for reviewing this README.
Last updated: 28/02/2024
Last updated: 06/03/2024

View File

@ -0,0 +1,3 @@
DIST pyFortiManagerAPI-0.2.3.tar.gz 20098 BLAKE2B f985719302558d3c520ad2974e465a85919d1289c913b8f230390bb528fe56eecb74bddf8713960313e70bd57a8a2bb04d614d6fa62763e9c6ae09ea09c594be SHA512 1603fcad46e98953a96c8949e962126a936d41845b323bb15df04e83645bd424fbbd8e770ea9a31fb844092dbbda4a95490bd56cfd15fe535401a1a6370e2513
EBUILD pyFortiManagerAPI-0.2.3.ebuild 624 BLAKE2B 04ed1c730e9b9582650c4214d42d43d51d2ae82e7541efc7b081939537fc4069144ded926195a53cccb36dc8423d4d82a9a1d62d76f141c318c09223b3d7dd4a SHA512 1bd170293fa66525ddfa5084eee336ca4deed6e8df8566cb2412a28f9ba7915b0c83c734205eb4dd6462b59f8697aa343776d9b7868e7ba8ab6a9825f3fdcdb4
MISC metadata.xml 537 BLAKE2B f9bebb9fdb29f8500564b92c1d10c9892ce99c86837a95bb15e8f2530c864d265d25664b080a8cbf7ab5025ba5595d2fed313c021e0d779b70a24946105883dd SHA512 93ae0111f2a2c7b49a3207cbc11bc2574134da2567b2e3848093e86f1540affef9a2147ac0d78b38cad56a1da86e3a9fb5bf67fad9f9b6d40873157b03d2a9db

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">pyFortiManagerAPI</remote-id>
<remote-id type="github">akshaymane920/pyFortiManagerAPI</remote-id>
<maintainer status="unknown">
<email>akshaymane920@gmail.com</email>
<name>Akshay Mane</name>
</maintainer>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,25 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
PYPI_NO_NORMALIZE=1
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi
DESCRIPTION="A Python wrapper for the FortiManager REST API"
HOMEPAGE="https://github.com/akshaymane920/pyFortiManagerAPI https://pypi.org/project/pyFortiManagerAPI/"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
RDEPEND="dev-python/requests[${PYTHON_USEDEP}]
dev-python/urllib3[${PYTHON_USEDEP}]"
distutils_enable_tests pytest