summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Tas2020-11-17 21:17:27 +0100
committerSimon Tas2020-11-17 21:17:27 +0100
commit97733d3afe464b40cc737310897f7e9980795a96 (patch)
tree6fc9f8a7a5b5cfe91e81bb29f9b4e385c515e190
downloadaur-97733d3afe464b40cc737310897f7e9980795a96.tar.gz
initial commit
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD26
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..fa42f402173
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = python-dnspython1.16
+ pkgdesc = A DNS toolkit for Python
+ pkgver = 1.16.0
+ pkgrel = 1
+ url = https://pypi.org/project/dnspython/1.16.0
+ arch = any
+ license = Apache
+ provides = python-dnspython
+ conflicts = python-dnspython
+ source = https://files.pythonhosted.org/packages/ec/c5/14bcd63cb6d06092a004793399ec395405edf97c2301dfdc146dfbd5beed/dnspython-1.16.0.zip
+ md5sums = bc9ca3b3a82164667d5730ec6d5248a2
+
+pkgname = python-dnspython1.16
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..41e116c43b7
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Simon Tas <simon.tas.st@gmail.com>
+
+pkgname="python-dnspython1.16"
+_pkgname="dnspython"
+pkgver=1.16.0
+pkgrel=1
+pkgdesc='A DNS toolkit for Python'
+arch=('any')
+conflicts=( 'python-dnspython')
+url="https://pypi.org/project/$_pkgname/$pkgver"
+license=('Apache')
+provides=('python-dnspython')
+source=("https://files.pythonhosted.org/packages/ec/c5/14bcd63cb6d06092a004793399ec395405edf97c2301dfdc146dfbd5beed/$_pkgname-$pkgver.zip")
+md5sums=('bc9ca3b3a82164667d5730ec6d5248a2')
+
+build() {
+ cd ${srcdir}/${_pkgname}-${pkgver}
+ python setup.py build
+}
+
+package() {
+ cd ${srcdir}/${_pkgname}-${pkgver}
+
+ python setup.py install --root="${pkgdir}" --optimize=1
+}
+