mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
29 lines
683 B
Bash
29 lines
683 B
Bash
# Copyright 1999-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
|
|
|
|
inherit distutils-r1
|
|
|
|
MY_PN="MaxMind-DB-Reader-python"
|
|
MY_P="${MY_PN}-${PV}"
|
|
|
|
DESCRIPTION="A Python module for reading MaxMind DB files"
|
|
HOMEPAGE="https://github.com/maxmind/MaxMind-DB-Reader-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 ~ia64 ~ppc ~sparc x86 ~x86-fbsd"
|
|
IUSE=""
|
|
|
|
RDEPEND=""
|
|
DEPEND="${RDEPEND}
|
|
dev-python/setuptools[${PYTHON_USEDEP}]"
|
|
|
|
S="${WORKDIR}/${MY_P}"
|
|
|
|
python_install_all() {
|
|
distutils-r1_python_install_all
|
|
}
|