aboutsummaryrefslogtreecommitdiffstats
path: root/community/py-dnspython
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-09-08 07:50:52 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-09-08 10:45:44 -0300
commit2861ff088e16a763a83cad71da9d5efe430cf8d0 (patch)
tree19e387b310e5ba0f1c6c6e58f9dfec50f01e5b21 /community/py-dnspython
parent16b972b035b5a2142b20862cfc1dd54a9914bf82 (diff)
downloadaports-2861ff088e16a763a83cad71da9d5efe430cf8d0.tar.bz2
aports-2861ff088e16a763a83cad71da9d5efe430cf8d0.tar.xz
community/py3-dnspython: rename from py-dnspython
Diffstat (limited to 'community/py-dnspython')
-rw-r--r--community/py-dnspython/APKBUILD51
1 files changed, 0 insertions, 51 deletions
diff --git a/community/py-dnspython/APKBUILD b/community/py-dnspython/APKBUILD
deleted file mode 100644
index 0f13ad0a9b..0000000000
--- a/community/py-dnspython/APKBUILD
+++ /dev/null
@@ -1,51 +0,0 @@
-# Contributor: Francesco Colista <fcolista@alpinelinux.org>
-# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
-pkgname=py-dnspython
-_pkgname=dnspython
-pkgver=1.16.0
-pkgrel=1
-pkgdesc="A DNS toolkit for Python"
-url="http://www.dnspython.org"
-arch="noarch"
-license="BSD"
-makedepends="python2-dev py-setuptools python3-dev"
-subpackages="py3-${pkgname#py-}:_py3 py2-${pkgname#py-}:_py2"
-source="http://www.dnspython.org/kits/$pkgver/$_pkgname-$pkgver.tar.gz"
-builddir="$srcdir/$_pkgname-$pkgver"
-
-build() {
- cd "$builddir"
- python2 setup.py build
- python3 setup.py build
-}
-
-check() {
- cd "$builddir"
- python2 setup.py check
- python3 setup.py check
-}
-
-package() {
- mkdir -p "$pkgdir"
-}
-
-_py() {
- local python="$1"
- pkgdesc="$pkgdesc ${python:6:1}"
- depends="$depends $python"
- install_if="$pkgname=$pkgver-r$pkgrel $python"
-
- cd "$builddir"
- $python setup.py install --prefix=/usr --root="$subpkgdir"
-}
-
-_py2() {
- replaces="$pkgname"
- _py python2
-}
-
-_py3() {
- _py python3
-}
-
-sha512sums="41ddca2faf696d5d682551f517efd90c007011c1f6d9355d297d71a3fe84222a1e528945343d8c2276ad3957ceaab578f3df7c2c1709418ffcca01ccbb379359 dnspython-1.16.0.tar.gz"