Adding pyspf
This commit is contained in:
2
dev-python/pydns/Manifest
Normal file
2
dev-python/pydns/Manifest
Normal file
@ -0,0 +1,2 @@
|
||||
DIST py3dns-3.2.1.tar.gz 30691 BLAKE2B 336ed91a3bf8b33db258667ac96eba6df361bb2a8f24c433dbc6754ea32a7284ce0463c392c1392538eed9d8bf9ea3f09400bc08f1970a7c96c52bf072606718 SHA512 22f16c571f9fad02a70a8e0bbbfd802f4f9af23946edb78e15f69f23e57411369274945a1dea5603acae1fc1eb404e5445207c541afb7864a60b92dc4d5477b3
|
||||
EBUILD pydns-3.2.1.ebuild 858 BLAKE2B 7a0191676e5d0af6b963d3217abb13813a552a8437d75058c1be2da8e686aca79ff5ab174c47f9aeed9419cffdcffe1f5e7c9f7bcf0410a07a96b5a992093ae6 SHA512 675177b9ec1e5fe7085028097de34eebd68e6401fa5e88b207d8d661c23b592960658ea230f1531eb721a4306bf6353c1838957342b3947b574735bcc1dd2622
|
38
dev-python/pydns/pydns-3.2.1.ebuild
Normal file
38
dev-python/pydns/pydns-3.2.1.ebuild
Normal file
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python3_{5,6,7} pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="${PN/py/py3}"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
DESCRIPTION="Python DNS (Domain Name System) library"
|
||||
HOMEPAGE="https://launchpad.net/py3dns"
|
||||
SRC_URI="https://launchpad.net/${MY_PN}/trunk/${PV}/+download/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="CNRI"
|
||||
SLOT="3"
|
||||
KEYWORDS="amd64 hppa ~ia64 ~ppc ~sparc x86"
|
||||
IUSE="examples"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
# Tests require network access
|
||||
RESTRICT="test"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
python_test() {
|
||||
"${EPYTHON}" -m unittest || die "tests failed with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
if use examples; then
|
||||
docinto examples
|
||||
dodoc -r tests/. tools/.
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
distutils-r1_python_install_all
|
||||
}
|
Reference in New Issue
Block a user