add geographiclib-2.0

This commit is contained in:
Andreas Billmeier 2022-09-03 12:27:31 +02:00 committed by Andreas Billmeier
parent 867f63b348
commit a8f13c7379
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 55 additions and 2 deletions

View File

@ -523,11 +523,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 1862 Ebuilds in total, 1855 of them have in total 1867 (35 different) licenses assigned.
There are 1863 Ebuilds in total, 1856 of them have in total 1868 (35 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1130|
|MIT|1131|
|Apache-2.0|341|
|GPL-3|114|
|BSD|106|

View File

@ -0,0 +1,3 @@
DIST geographiclib-2.0.tar.gz 36720 BLAKE2B 31759eda6b77b191c34c18c2c6abdcf04214391e7d77eb68aa000aff8ec35519ab705b358f76bb0a50aff74708bcada664bdf3a97a3fb3e482ca773d6f410eed SHA512 08e67317b83ed96dc45b013bfc0eac771f015250da07b1574252f566f48ce944ad0a5a0623b1bfc96c14e65658f2f39a069af5ceb6ffe153677cc2a023eeef91
EBUILD geographiclib-2.0.ebuild 737 BLAKE2B 1ebf1c5e811fee09012ae053f706c34d9c7e813ba89ef853113e722fdcabff133f898be5ce311965f90fbba6a1568aff71734b7a5252d1e2f46b7d110dbdec46 SHA512 e9407a8f7b8a0cdbd7d815348bccd2730e9d45ccac08df58406a4db3f6711eea694e522258353899299f27be588a64fb8403a284bc21bd03206e82ec977b55a0
MISC metadata.xml 458 BLAKE2B 4015eb064d5b46136d0105289578a5b0092b14505a65e15a100cbd31e6f2f8804606ed6a74f017ad0af71745302576fdaa7ab25830752e4e9e2c4cb6d1306a18 SHA512 389ce202380ca298b52aa2dd57a9b1f41657cc7e2a095694ff2e4870c8db14a80262d958fa7e5ddc663d07654d8e47f1a2ed7e3fbaadfab92cf297c57aa7cb65

View File

@ -0,0 +1,35 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1
DESCRIPTION="The geodesic routines from GeographicLib"
HOMEPAGE="https://geographiclib.sourceforge.io/Python/2.0 https://pypi.org/project/geographiclib/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
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
}
distutils_enable_tests pytest

View File

@ -0,0 +1,15 @@
<?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">geographiclib</remote-id>
<maintainer status="unknown">
<email>charles@karney.com</email>
<name>Charles Karney</name>
</maintainer>
</upstream>
</pkgmetadata>