[arch-commits] Commit in python-setproctitle/repos (4 files)

Felix Yan fyan at archlinux.org
Wed Sep 30 11:31:38 UTC 2015


    Date: Wednesday, September 30, 2015 @ 13:31:38
  Author: fyan
Revision: 142249

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  python-setproctitle/repos/community-testing-i686/
  python-setproctitle/repos/community-testing-i686/PKGBUILD
    (from rev 142248, python-setproctitle/trunk/PKGBUILD)
  python-setproctitle/repos/community-testing-x86_64/
  python-setproctitle/repos/community-testing-x86_64/PKGBUILD
    (from rev 142248, python-setproctitle/trunk/PKGBUILD)

-----------------------------------+
 community-testing-i686/PKGBUILD   |   43 ++++++++++++++++++++++++++++++++++++
 community-testing-x86_64/PKGBUILD |   43 ++++++++++++++++++++++++++++++++++++
 2 files changed, 86 insertions(+)

Copied: python-setproctitle/repos/community-testing-i686/PKGBUILD (from rev 142248, python-setproctitle/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2015-09-30 11:31:38 UTC (rev 142249)
@@ -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=3
+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"
+}

Copied: python-setproctitle/repos/community-testing-x86_64/PKGBUILD (from rev 142248, python-setproctitle/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2015-09-30 11:31:38 UTC (rev 142249)
@@ -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=3
+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"
+}



More information about the arch-commits mailing list