blob: 09f760b396c54b5a3ae5aa242ab5f6d8fba60bf2 (
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
32
33
34
35
36
37
38
39
40
41
|
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=py-setproctitle
_pkgname=${pkgname/py-/}
pkgver="1.1.9"
pkgrel=0
pkgdesc="A Python module to customize the process title."
url="https://github.com/dvarrazzo/py-setproctitle"
arch="all"
license="BSD"
depends="python"
depends_dev=""
makedepends="python-dev musl-dev"
install=""
subpackages=""
source="https://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz
spt_status.c.patch
"
_builddir="$srcdir/$_pkgname-$pkgver"
prepare() {
cd "$_builddir"
patch -p1 -i "$srcdir"/spt_status.c.patch || return 1
}
build() {
cd "$_builddir"
python setup.py build || return 1
}
package() {
cd "$_builddir"
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
md5sums="95d9e56c69437246460a20804961d70d setproctitle-1.1.9.tar.gz
175429a592de14170499d303a866a2d1 spt_status.c.patch"
sha256sums="1c3414d18f9cacdab78b0ffd8e886d56ad45f22e55001a72aaa0b2aeb56a0ad7 setproctitle-1.1.9.tar.gz
6ccc0f3ddbcd5faba5ec8e2b7de88dccd31b04a1797c3ae0454c00ff3c07f839 spt_status.c.patch"
sha512sums="f5640543105dd039192378983b098e0eca643b5eee314a18886aef0d13674e1ea74f753bfb33582f51a6fb34f9c3d0831764bc099dec9b9e14fe12e7446d30f1 setproctitle-1.1.9.tar.gz
e15997f0d535801d0aff1ca403a314463892baca06ff1d5ceba2f9f52080016b1945cfa731c4ae4de3fde0649f44ae34ccc40478ef005c8a49d0037382877d4f spt_status.c.patch"
|