summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlberto Redondo2021-02-23 17:48:36 +0100
committerAlberto Redondo2021-02-23 17:48:36 +0100
commit4b405ca8b184a60151a5d022eedbfa0883266408 (patch)
tree205b4ca7a1f76a42cbf76e5027619762139e597e
downloadaur-4b405ca8b184a60151a5d022eedbfa0883266408.tar.gz
Initial import
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD44
2 files changed, 62 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..4736f64da00
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = python-domain-connect-dyndns
+ pkgdesc = Python client library for Dynamic DNS using Domain Connect
+ pkgver = 0.0.8
+ pkgrel = 1
+ url = https://github.com/Domain-Connect/DomainConnectDDNS-Python
+ arch = any
+ license = MIT
+ makedepends = python-setuptools
+ depends = python
+ depends = python-validators
+ depends = python-requests
+ depends = python-dnspython
+ depends = python-domain-connect
+ source = python-domain-connect-dyndns-0.0.8.tar.gz::https://github.com/Domain-Connect/DomainConnectDDNS-Python/archive/v0.0.8.tar.gz
+ md5sums = 9ec626ce5189e4072d723f2e25a40ed1
+
+pkgname = python-domain-connect-dyndns
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..25a8badf776
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,44 @@
+# Maintainer: Alberto Redondo <albertomost at gmail dot com>
+
+_pkgname=domain-connect-dyndns
+_pkgname_gh=DomainConnectDDNS-Python
+pkgname=python-${_pkgname}
+pkgver=0.0.8
+pkgrel=1
+pkgdesc='Python client library for Dynamic DNS using Domain Connect'
+arch=('any')
+url='https://github.com/Domain-Connect/DomainConnectDDNS-Python'
+_url_pypi='https://pypi.org/project/domain-connect-dyndns'
+license=('MIT')
+depends=(
+ 'python'
+ 'python-validators'
+ 'python-requests'
+ 'python-dnspython'
+ 'python-domain-connect'
+)
+makedepends=('python-setuptools')
+source=(${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz)
+md5sums=('9ec626ce5189e4072d723f2e25a40ed1')
+
+build() {
+
+ cd ${_pkgname_gh}-${pkgver}
+
+ python setup.py build
+
+}
+
+package() {
+
+ cd ${_pkgname_gh}-${pkgver}
+
+ python setup.py install \
+ -O1 \
+ --root="${pkgdir}" \
+ --skip-build
+
+ install -Dm644 LICENSE \
+ -t "${pkgdir}/usr/share/licenses/${pkgname}"
+
+}