[arch-commits] Commit in python-daemon/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Nov 12 19:47:50 UTC 2020
Date: Thursday, November 12, 2020 @ 19:47:50
Author: felixonmars
Revision: 753620
archrelease: copy trunk to community-staging-any
Added:
python-daemon/repos/community-staging-any/
python-daemon/repos/community-staging-any/PKGBUILD
(from rev 753619, python-daemon/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: python-daemon/repos/community-staging-any/PKGBUILD (from rev 753619, python-daemon/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-12 19:47:50 UTC (rev 753620)
@@ -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=5
+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