initial import
This commit is contained in:
27
python-dnspython/PKGBUILD
Normal file
27
python-dnspython/PKGBUILD
Normal file
@@ -0,0 +1,27 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
_name=dnspython
|
||||
pkgname=python-dnspython
|
||||
pkgver=2.0.0
|
||||
pkgrel=1
|
||||
pkgdesc="A DNS toolkit for Python"
|
||||
arch=('any')
|
||||
url='http://www.dnspython.org'
|
||||
license=('ISC')
|
||||
depends=('python')
|
||||
makedepends=('python-setuptools')
|
||||
optdepends=('python-pycryptodome: DNSSEC support'
|
||||
'python-idna: support for updated IDNA 2008')
|
||||
source=("https://deb.debian.org/debian/pool/main/d/${_name}/${_name}_${pkgver}.orig.tar.gz")
|
||||
sha512sums=('3b38850fcacb0dd25ac0345201474f297c402617e8d706f3061c42172d697103075098e62ca0ac4e0e29967e00407f32f41789ac7bf070fba5aec0af9882e0fb')
|
||||
|
||||
build() {
|
||||
cd ${_name}-${pkgver}
|
||||
python setup.py build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${_name}-${pkgver}
|
||||
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
|
||||
install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
|
||||
}
|
||||
Reference in New Issue
Block a user