[arch-commits] Commit in python2-slip/repos (3 files)

Maxime Gauduin alucryd at nymeria.archlinux.org
Thu Feb 21 10:38:00 UTC 2013


    Date: Thursday, February 21, 2013 @ 11:37:59
  Author: alucryd
Revision: 84662

archrelease: copy trunk to community-any

Added:
  python2-slip/repos/community-any/
  python2-slip/repos/community-any/PKGBUILD
    (from rev 84661, python2-slip/trunk/PKGBUILD)
  python2-slip/repos/community-any/python2.patch
    (from rev 84661, python2-slip/trunk/python2.patch)

---------------+
 PKGBUILD      |   37 +++++++++++++++++++++++++++++++++++++
 python2.patch |   54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 91 insertions(+)

Copied: python2-slip/repos/community-any/PKGBUILD (from rev 84661, python2-slip/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2013-02-21 10:37:59 UTC (rev 84662)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at gmail.com>
+
+pkgname=python2-slip
+pkgver=0.2.24
+pkgrel=3
+pkgdesc="Simple Library for Python"
+arch=('any')
+url="http://fedorahosted.org/python-slip"
+license=('GPL2')
+depends=('gtk2' 'polkit' 'python2-dbus' 'python2-gobject' 'python2-decorator' 'pygtk')
+source=("http://fedorahosted.org/released/python-slip/python-slip-${pkgver}.tar.bz2" 'python2.patch')
+sha256sums=('ffd4c1beca05b0af9f30923e9304c97e714e2c7e535ff4ccee0486d2d7e7e08b'
+            '9637162d79de637616737977bc4717c1e746435643225f25a19999e48c2b3524')
+
+build() {
+  cd "${srcdir}"/python-slip-${pkgver}
+
+# Patch
+  patch -Np1 -i "${srcdir}"/python2.patch
+
+# Build
+  make
+}
+
+package() {
+  cd "${srcdir}"/python-slip-${pkgver}
+
+# Install
+  make DESTDIR="${pkgdir}" install
+
+# Fix permissions
+  find "${pkgdir}" -type d -exec chmod 755 {} +
+  find "${pkgdir}" -type f -exec chmod 644 {} +
+}
+
+# vim: ts=2 sw=2 et:

Copied: python2-slip/repos/community-any/python2.patch (from rev 84661, python2-slip/trunk/python2.patch)
===================================================================
--- community-any/python2.patch	                        (rev 0)
+++ community-any/python2.patch	2013-02-21 10:37:59 UTC (rev 84662)
@@ -0,0 +1,54 @@
+--- a/doc/dbus/example/example-conf-client.py
++++ b/doc/dbus/example/example-conf-client.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python
++#!/usr/bin/python2
+ # -*- coding: utf-8 -*-
+ 
+ import dbus
+--- a/doc/dbus/example/example-conf-mechanism.py
++++ b/doc/dbus/example/example-conf-mechanism.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python
++#!/usr/bin/python2
+ # -*- coding: utf-8 -*-
+ 
+ import gobject
+--- a/py_rules.mk
++++ b/py_rules.mk
+@@ -33,15 +33,15 @@ $(_SETUP_PY):	$(_SETUP_PY).in $(PKGNAME).spec
+ 
+ py-build-ext:	$(_SETUP_PY) $(PY_SOURCES)
+ 	cd $(PY_TOPDIR); \
+-	python $(SETUP_PY) build_ext -i
++	python2 $(SETUP_PY) build_ext -i
+ 
+ py-build:   $(_SETUP_PY) $(PY_SOURCES)
+ 	cd $(PY_TOPDIR); \
+-	python $(SETUP_PY) build
++	python2 $(SETUP_PY) build
+ 
+ py-install:	$(_SETUP_PY)
+ 	cd $(PY_TOPDIR); \
+-	python $(SETUP_PY) install -O1 \
++	python2 $(SETUP_PY) install -O1 \
+ 		--root $(DESTDIR) \
+ 		--prefix $(PREFIX) \
+ 		--exec-prefix $(EXEC_PREFIX) \
+@@ -49,7 +49,7 @@ py-install:	$(_SETUP_PY)
+ 
+ py-clean:	$(_SETUP_PY)
+ 	cd $(PY_TOPDIR); \
+-	python $(SETUP_PY) clean; \
++	python2 $(SETUP_PY) clean; \
+ 	rm -f $(SETUP_PY); \
+ 	rm -rf build
+ 
+--- a/setup.py.in
++++ b/setup.py.in
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python
++#!/usr/bin/python2
+ # -*- coding: utf-8 -*-
+ 
+ from distutils.core import setup




More information about the arch-commits mailing list