blob: 4a19e5b274f7ab4d381a14b99acc247f30a1591a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Maintainer: Christian Hesse <mail@eworm.de>
pkgbase=python-pid
pkgname=(python-pid python2-pid)
pkgver=2.1.1
pkgrel=1
pkgdesc='Python pid - pidfile featuring stale detection and file-locking'
arch=('i686' 'x86_64')
url='https://pypi.python.org/pypi/pid'
license=('GPL')
makedepends=('python-setuptools' 'python2-setuptools')
# There's a gpg signature, but no matching key. Where to get it?
source=("https://pypi.io/packages/source/p/pid/pid-${pkgver}.tar.gz")
sha256sums=('b443169d3dc21397695b4a82016fadb4cfdb0ed8b2ddb4aaa428e1701bb34e1f')
package_python-pid() {
pkgdesc='Python pid - pidfile featuring stale detection and file-locking - python 3.x pkg'
depends=('python')
cd "${srcdir}/pid-${pkgver}"
python3 setup.py install --root="${pkgdir}/" --optimize=0
}
package_python2-pid() {
pkgdesc='Python pid - pidfile featuring stale detection and file-locking - python 2.x pkg'
depends=('python2')
cd "${srcdir}/pid-${pkgver}"
python2 setup.py install --root="${pkgdir}/" --optimize=0
}
|