[arch-commits] Commit in (5 files)

Massimiliano Torromeo mtorromeo at archlinux.org
Wed Sep 30 08:45:21 UTC 2015


    Date: Wednesday, September 30, 2015 @ 10:45:21
  Author: mtorromeo
Revision: 142246

Moved python{,2}-setproctitle from [unsupported] to [community]

Added:
  python-setproctitle/
  python-setproctitle/repos/
  python-setproctitle/trunk/
  python-setproctitle/trunk/PKGBUILD
Modified:
  libuv/trunk/PKGBUILD

------------------------------------+
 libuv/trunk/PKGBUILD               |    4 +--
 python-setproctitle/trunk/PKGBUILD |   43 +++++++++++++++++++++++++++++++++++
 2 files changed, 45 insertions(+), 2 deletions(-)

Modified: libuv/trunk/PKGBUILD
===================================================================
--- libuv/trunk/PKGBUILD	2015-09-30 08:17:10 UTC (rev 142245)
+++ libuv/trunk/PKGBUILD	2015-09-30 08:45:21 UTC (rev 142246)
@@ -2,7 +2,7 @@
 # Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
 
 pkgname=libuv
-pkgver=1.7.3
+pkgver=1.7.4
 pkgrel=1
 pkgdesc="Multi-platform support library with a focus on asynchronous I/O"
 arch=('i686' 'x86_64')
@@ -42,4 +42,4 @@
 		"$pkgdir"/usr/share/man/man1/libuv.1
 }
 
-sha256sums=('db5d46318e18330c696d954747036e1be8e2346411d4f30236d7e2f499f0cfab')
+sha256sums=('5f9625845f509029e44974a67c7e599d11ff9333f8c48a301a098e740cf9ba6c')

Added: python-setproctitle/trunk/PKGBUILD
===================================================================
--- python-setproctitle/trunk/PKGBUILD	                        (rev 0)
+++ python-setproctitle/trunk/PKGBUILD	2015-09-30 08:45:21 UTC (rev 142246)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=python-setproctitle
+pkgname=(python-setproctitle python2-setproctitle)
+pkgver=1.1.9
+pkgrel=2
+pkgdesc="Allows a python process to change its process title"
+license=("BSD")
+url="https://github.com/dvarrazzo/py-setproctitle"
+makedepends=('python' 'python2')
+arch=('i686' 'x86_64')
+source=(http://pypi.python.org/packages/source/s/setproctitle/setproctitle-$pkgver.tar.gz)
+sha256sums=('1c3414d18f9cacdab78b0ffd8e886d56ad45f22e55001a72aaa0b2aeb56a0ad7')
+
+build() {
+    cd "$srcdir"/setproctitle-$pkgver
+
+    rm -rf ../buildpy3; mkdir ../buildpy3
+    python setup.py build -b ../buildpy3
+
+    rm -rf ../buildpy2; mkdir ../buildpy2
+    python2 setup.py build -b ../buildpy2
+    find ../buildpy2 -name \*.py -exec sed -r '1 s|^#!(.*)python$|#!\1python2|' -i {} +
+}
+
+package_python-setproctitle() {
+    depends=(python)
+
+    cd "$srcdir"/setproctitle-$pkgver
+    rm -rf build; ln -s ../buildpy3 build
+    python setup.py install --skip-build -O1 --root="$pkgdir"
+	install -m0644 -D COPYRIGHT "$pkgdir/usr/share/licenses/$pkgname/COPYRIGHT"
+}
+
+package_python2-setproctitle() {
+    depends=(python2)
+
+    cd "$srcdir"/setproctitle-$pkgver
+    rm -rf build; ln -s ../buildpy2 build
+    python2 setup.py install --skip-build -O1 --root="$pkgdir"
+	install -m0644 -D COPYRIGHT "$pkgdir/usr/share/licenses/$pkgname/COPYRIGHT"
+}


Property changes on: python-setproctitle/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list