[arch-commits] Commit in python2-slip/repos/community-any (4 files)
Maxime Gauduin
alucryd at nymeria.archlinux.org
Tue Feb 26 19:22:46 UTC 2013
Date: Tuesday, February 26, 2013 @ 20:22:45
Author: alucryd
Revision: 85023
archrelease: copy trunk to community-any
Added:
python2-slip/repos/community-any/PKGBUILD
(from rev 85022, python2-slip/trunk/PKGBUILD)
python2-slip/repos/community-any/python2.patch
(from rev 85022, python2-slip/trunk/python2.patch)
Deleted:
python2-slip/repos/community-any/PKGBUILD
python2-slip/repos/community-any/python2.patch
---------------+
PKGBUILD | 74 +++++++++++++++++++-------------------
python2.patch | 108 ++++++++++++++++++++++++++++----------------------------
2 files changed, 91 insertions(+), 91 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2013-02-26 19:17:45 UTC (rev 85022)
+++ PKGBUILD 2013-02-26 19:22:45 UTC (rev 85023)
@@ -1,37 +0,0 @@
-# $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/PKGBUILD (from rev 85022, python2-slip/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2013-02-26 19:22:45 UTC (rev 85023)
@@ -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:
Deleted: python2.patch
===================================================================
--- python2.patch 2013-02-26 19:17:45 UTC (rev 85022)
+++ python2.patch 2013-02-26 19:22:45 UTC (rev 85023)
@@ -1,54 +0,0 @@
---- 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
Copied: python2-slip/repos/community-any/python2.patch (from rev 85022, python2-slip/trunk/python2.patch)
===================================================================
--- python2.patch (rev 0)
+++ python2.patch 2013-02-26 19:22:45 UTC (rev 85023)
@@ -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