add reworked geopy-2.1.0

This commit is contained in:
Andreas Billmeier 2022-09-04 08:01:31 +02:00 committed by Andreas Billmeier
parent 71661825be
commit 3d50c7a136
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 56 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 1867 Ebuilds in total, 1860 of them have in total 1872 (35 different) licenses assigned.
There are 1868 Ebuilds in total, 1861 of them have in total 1873 (35 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1131|
|MIT|1132|
|Apache-2.0|347|
|GPL-3|114|
|BSD|104|

View File

@ -0,0 +1,3 @@
DIST geopy-2.1.0.tar.gz 107778 BLAKE2B a508a84ef569ffb4cb40acef685a42a8658f5a8ca942d5265a708dcc98f1c7075c0f6bb00b7277a0f62b7a4678597028582804f536dc96d1a94ea2ba3e62f1a9 SHA512 1873686748e1957d9717dc3b980d617ff838aeaf327bbbecfb766d17bc5ba21f6a24ac90c504541586040acd1b33d3bcfab636665a324084a6d70b6bc6be8e4a
EBUILD geopy-2.1.0.ebuild 807 BLAKE2B 80fb9862ac0fcc3164626424da9caacfe6f19a9ce60826518716083acf120da7416d06aea802ec2a04c59fa42c0a0df9991ec49146a72da23f72f963660a07bf SHA512 cdb5ba0c6bb506e55fbb9fab75507985be0dc52a8e79572ada0f1bcad888fd7970c9f405bd192364f71fd6a132781e7eef22e689f903ec8018c2dd57b0f2cb68
MISC metadata.xml 449 BLAKE2B dafff0aa78f14e7fda69991dd573ae4b293af8a3ce9f846f01f95618dd18f286b6e37605b1425d812825cd8861dd9ab75d3ce5f12a7e71ac6769a1d3f82358c9 SHA512 af7b5f15f30d494423a32a6129aed8c29f3606b2f4002abc4503c444fd2016731608c61adeecd6aa362213ede74d2f92ebfeba5a2da3b5ceae8a5aa2d2f16d21

View File

@ -0,0 +1,36 @@
# 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="Python Geocoding Toolbox"
HOMEPAGE="https://github.com/geopy/geopy https://pypi.org/project/geopy/"
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.rst"
RDEPEND=">=sci-geosciences/GeographicLib-1.51-r1[python,${PYTHON_USEDEP}]"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/pytest-asyncio[${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">geopy</remote-id>
<maintainer status="unknown">
<email>kostya@esmukov.ru</email>
<name>Kostya Esmukov</name>
</maintainer>
</upstream>
</pkgmetadata>