dev-python/geoip2-python - 3.0.0 (pentoo)

Search

Install

Install this version:

emerge -a =dev-python/geoip2-python-3.0.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-python/geoip2-python-3.0.0

Or alternatively:

emerge --autounmask-write -a =dev-python/geoip2-python-3.0.0

Package Information

Description:
Python bindings for GeoIP2
Homepage:
https://github.com/maxmind/GeoIP2-python
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
3.0.0 8 ~amd64 0
View Raw Ebuild
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} pypy3 )

inherit distutils-r1

MY_PN="GeoIP2-python"
MY_P="${MY_PN}-${PV}"

DESCRIPTION="Python bindings for GeoIP2"
HOMEPAGE="https://github.com/maxmind/GeoIP2-python"
SRC_URI="https://github.com/maxmind/${MY_PN}/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

RDEPEND=">=dev-python/maxminddb-1.5.1[${PYTHON_USEDEP}]
	>=dev-python/requests-2.22[${PYTHON_USEDEP}]
	>=dev-python/urllib3-1.25.2[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"

S="${WORKDIR}/${MY_P}"

python_install_all() {
	distutils-r1_python_install_all
}

Inherited Eclasses

Dependencies

DEPEND

>=dev-python/maxminddb-1.5.1[]
	>=dev-python/requests-2.22[]
	>=dev-python/urllib3-1.25.2[]

RDEPEND

>=dev-python/maxminddb-1.5.1[]
	>=dev-python/requests-2.22[]
	>=dev-python/urllib3-1.25.2[]

Manifest for 3.0.0

Type File Size Source URLs
DIST GeoIP2-python-3.0.0.tar.gz 35698 bytes https://github.com/maxmind/GeoIP2-python/archive/v3.0.0.tar.gz