[arch-commits] Commit in python-localzone/repos (2 files)

Felix Yan felixonmars at archlinux.org
Mon Nov 4 08:32:02 UTC 2019


    Date: Monday, November 4, 2019 @ 08:32:02
  Author: felixonmars
Revision: 523763

archrelease: copy trunk to community-staging-any

Added:
  python-localzone/repos/community-staging-any/
  python-localzone/repos/community-staging-any/PKGBUILD
    (from rev 523761, python-localzone/trunk/PKGBUILD)

----------+
 PKGBUILD |   24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

Copied: python-localzone/repos/community-staging-any/PKGBUILD (from rev 523761, python-localzone/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-11-04 08:32:02 UTC (rev 523763)
@@ -0,0 +1,24 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-localzone
+pkgver=0.9.5
+pkgrel=2
+pkgdesc="A simple library for managing DNS zones"
+url="https://localzone.iomaestro.com/"
+license=('BSD')
+arch=('any')
+depends=('python-dnspython')
+makedepends=('python-setuptools')
+source=("https://pypi.io/packages/source/l/localzone/localzone-$pkgver.tar.gz")
+sha512sums=('0d76db8e11383bb1802c432f86c5dff71fcc43da7ad5325fea54d935ec4671feeecc9835da8f00cf85252b2723a8fc83b2b33a6929bf213ada8d57d6853be5a9')
+
+build() {
+  cd localzone-$pkgver
+  python setup.py build
+}
+
+package() {
+  cd localzone-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list