mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-25 08:58:27 -07:00
dev-python/dnspython: Clean old up
This commit is contained in:
@@ -1,3 +1 @@
|
||||
DIST dnspython-1.12.0.tar.gz 135164 BLAKE2B ff2a49188dd5b9ab510f3b1cd99d3f409286431bc17bd4ddb23e84c696ddc2a652c662505176539254b7854b10c5f83335a0c3c42aa9b21a788c4d432a7a565f SHA512 583d069ed7ee9b20f16a964023fa0300f15032c27de6d084205f73394f19a2d5bb1641ef95b08a8ddf1f622eeb5fa8cbfa62b8a2ee478a49b0dff0995e4ae42e
|
||||
DIST dnspython-1.15.0.zip 252157 BLAKE2B 6766c1e69bc4225b08f3b1b3871fac2aba7ae707de5f16718798ce4d6846308500c5341f9ace1b48d3858ffc965a7295ee42cc2c35ff23ac38d71927dcaecfe9 SHA512 942f7cf083d1b0a9f03f040ceca194c38777f2e40862c388051986112b3f2a4a8426733ff46ec5a155319776e4a856412c3430b052b2f92f251f0e3260eb9bc1
|
||||
DIST dnspython3-1.12.0.zip 226945 BLAKE2B 1bad6df7d62481d52407146c8ee33fab9dad47ed52ae43855ec11fe347588a2d8b251deed4527ab9b2291cb5aa23e8d508e5e7af0ca89686b2c7dedc2b7684fc SHA512 02c61eb91c2e872f2c8fa0e09b88d593a067130b5ac3ea6eabd0abec413ecb6d3b7d5472ca502334f4c441af249511109006ae6a7b41d36ba1db3e777971b3ae
|
||||
|
||||
@@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="DNS toolkit for Python"
|
||||
HOMEPAGE="http://www.dnspython.org/ https://pypi.python.org/pypi/dnspython"
|
||||
SRC_URI="http://www.dnspython.org/kits/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="py2"
|
||||
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris"
|
||||
IUSE="examples test"
|
||||
|
||||
RDEPEND="dev-python/pycrypto[${PYTHON_USEDEP}]
|
||||
!dev-python/dnspython:0"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/unzip"
|
||||
|
||||
# For testsuite
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
python_test() {
|
||||
cd tests || die
|
||||
"${PYTHON}" utest.py || die "tests failed under ${EPYTHON}"
|
||||
einfo "Testsuite passed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
@@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python3_{4,5,6} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="${PN}3"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="DNS toolkit for Python"
|
||||
HOMEPAGE="http://www.dnspython.org/ https://pypi.python.org/pypi/dnspython"
|
||||
SRC_URI="http://www.dnspython.org/kits3/${PV}/${MY_P}.zip"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="py3"
|
||||
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris"
|
||||
IUSE="examples test"
|
||||
|
||||
RDEPEND="dev-python/pycrypto[${PYTHON_USEDEP}]
|
||||
!dev-python/dnspython:0"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/unzip"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
# For testsuite
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
python_test() {
|
||||
cd tests || die
|
||||
"${PYTHON}" utest.py || die "tests failed under ${EPYTHON}"
|
||||
einfo "Testsuite passed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
Reference in New Issue
Block a user