[arch-commits] Commit in python-daemon/repos/community-any (PKGBUILD PKGBUILD)

Jelle van der Waa jelle at archlinux.org
Fri May 8 18:33:29 UTC 2020


    Date: Friday, May 8, 2020 @ 18:33:28
  Author: jelle
Revision: 625737

archrelease: copy trunk to community-any

Added:
  python-daemon/repos/community-any/PKGBUILD
    (from rev 625736, python-daemon/trunk/PKGBUILD)
Deleted:
  python-daemon/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   87 +++++++++++++++++++++++--------------------------------------
 1 file changed, 34 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-08 18:33:17 UTC (rev 625736)
+++ PKGBUILD	2020-05-08 18:33:28 UTC (rev 625737)
@@ -1,53 +0,0 @@
-# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
-# Contributor: Anatol Pomozov
-# Contributor: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
-
-pkgbase=python-daemon
-pkgname=('python-daemon' 'python2-daemon')
-pkgver=2.2.4
-pkgrel=3
-pkgdesc='Library to implement a well-behaved Unix daemon process'
-arch=('any')
-url='https://pypi.python.org/pypi/python-daemon'
-license=('Apache')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-docutils' 'python2-docutils' 'python-lockfile' 'python2-lockfile')
-checkdepends=('python-mock' 'python-testscenarios')
-source=(https://files.pythonhosted.org/packages/source/p/$pkgbase/$pkgbase-$pkgver.tar.gz)
-sha256sums=('57c84f50a04d7825515e4dbf3a31c70cc44414394a71608dee6cfde469e81766')
-
-prepare() {
-  cp -a python-daemon-$pkgver{,-py2}
-}
-
-build() {
-  cd "${srcdir}"/python-daemon-$pkgver
-  python setup.py build
-
-  cd "${srcdir}"/python-daemon-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd python-daemon-$pkgver
-  python setup.py test
-}
-
-package_python-daemon() {
-  depends=('python' 'python-lockfile' 'python-docutils')
-
-  cd "${srcdir}"/python-daemon-$pkgver
-
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE.ASF-2 "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE.ASF-2
-  install -Dm644 LICENSE.GPL-3 "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE.GPL-3
-}
-
-package_python2-daemon() {
-  depends=('python2' 'python2-lockfile' 'python2-docutils')
-
-  cd "${srcdir}"/python-daemon-$pkgver-py2
-
-  python2 setup.py install --root="${pkgdir}" --optimize=1
-  install -Dm644 LICENSE.ASF-2 "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE.ASF-2
-  install -Dm644 LICENSE.GPL-3 "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE.GPL-3
-}

Copied: python-daemon/repos/community-any/PKGBUILD (from rev 625736, python-daemon/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-08 18:33:28 UTC (rev 625737)
@@ -0,0 +1,34 @@
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: Anatol Pomozov
+# Contributor: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=python-daemon
+pkgver=2.2.4
+pkgrel=4
+pkgdesc='Library to implement a well-behaved Unix daemon process'
+arch=('any')
+url='https://pypi.python.org/pypi/python-daemon'
+license=('Apache')
+depends=('python' 'python-lockfile' 'python-docutils')
+makedepends=('python-setuptools' 'python-docutils' 'python-lockfile')
+checkdepends=('python-mock' 'python-testscenarios')
+source=(https://files.pythonhosted.org/packages/source/p/$pkgname/$pkgname-$pkgver.tar.gz)
+sha256sums=('57c84f50a04d7825515e4dbf3a31c70cc44414394a71608dee6cfde469e81766')
+
+build() {
+  cd "${srcdir}"/python-daemon-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd python-daemon-$pkgver
+  python setup.py test
+}
+
+package_python-daemon() {
+  cd "${srcdir}"/python-daemon-$pkgver
+
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE.ASF-2 "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE.ASF-2
+  install -Dm644 LICENSE.GPL-3 "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE.GPL-3
+}



More information about the arch-commits mailing list