python-setproctitle: update to 1.1.10.

This commit is contained in:
Michael Gehring 2016-05-12 08:17:06 +02:00
parent bdd22329f5
commit 3cf61d75b8
2 changed files with 8 additions and 16 deletions

View File

@ -1,13 +0,0 @@
--- src/spt_status.c 2015-07-20 00:44:29.000000000 +0200
+++ src/spt_status.c 2015-10-08 22:04:23.899182363 +0200
@@ -55,8 +55,10 @@
#endif
#ifdef HAVE_SYS_PRCTL_H
#include <sys/prctl.h> /* for Linux >= 2.6.9 */
+#if defined(__GLIBC__)
#include <linux/prctl.h>
#endif
+#endif
#if defined(__darwin__)
#include <crt_externs.h>
#endif

View File

@ -1,7 +1,7 @@
# Template file for 'python-setproctitle'
pkgname=python-setproctitle
version=1.1.9
revision=2
version=1.1.10
revision=1
wrksrc="setproctitle-${version}"
build_style=python-module
python_versions="2.7 3.4"
@ -13,12 +13,17 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://code.google.com/p/py-setproctitle/"
license="BSD"
distfiles="${PYPI_SITE}/s/setproctitle/setproctitle-${version}.tar.gz"
checksum=1c3414d18f9cacdab78b0ffd8e886d56ad45f22e55001a72aaa0b2aeb56a0ad7
checksum=6283b7a58477dd8478fbb9e76defb37968ee4ba47b05ec1c053cb39638bd7398
post_install() {
vlicense COPYRIGHT
}
python3.4-setproctitle_package() {
depends="python3.4"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vlicense COPYRIGHT
vmove usr/lib/python3.4
}
}