blob: 1f9242b5189d15121f1cbca89a5b72a7e1a3632b (
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.2.3
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=("${pkgname}-${pkgver}.tar.gz::https://pypi.io/packages/source/p/pid/pid-${pkgver}.tar.gz")
sha256sums=('077da788630394adce075c88f4a087bcdb27d98cab67eb9046ebcfeedfc1194d')
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
}
|