[arch-commits] Commit in python-cssselect/repos/extra-any (PKGBUILD PKGBUILD)
Eric Bélanger
eric at nymeria.archlinux.org
Thu Nov 21 00:58:43 UTC 2013
Date: Thursday, November 21, 2013 @ 01:58:43
Author: eric
Revision: 199998
archrelease: copy trunk to extra-any
Added:
python-cssselect/repos/extra-any/PKGBUILD
(from rev 199997, python-cssselect/trunk/PKGBUILD)
Deleted:
python-cssselect/repos/extra-any/PKGBUILD
----------+
PKGBUILD | 84 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 42 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2013-11-21 00:58:24 UTC (rev 199997)
+++ PKGBUILD 2013-11-21 00:58:43 UTC (rev 199998)
@@ -1,42 +0,0 @@
-# $Id$
-# Maintainer:
-# Contributor: Simon Sapin <simon dot sapin at exyr dot org>
-
-pkgbase=python-cssselect
-pkgname=('python-cssselect' 'python2-cssselect')
-pkgver=0.8
-pkgrel=1
-license=('BSD')
-arch=('any')
-url="http://pypi.python.org/pypi/cssselect"
-makedepends=('python2' 'python')
-source=("http://pypi.python.org/packages/source/c/cssselect/cssselect-${pkgver}.tar.gz")
-md5sums=('c4683e050351abcbbd5990b01f5344e2')
-
-prepare() {
- cp -r cssselect-${pkgver} python2-cssselect-${pkgver}
-}
-
-package_python-cssselect() {
- pkgdesc="A Python3 library that parses CSS3 Selectors and translates them to XPath 1.0"
- depends=('python')
-
- cd cssselect-${pkgver}
- python setup.py install --root="${pkgdir}/" --optimize=1
-
- install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}
-
-package_python2-cssselect() {
- pkgdesc="A Python2 library that parses CSS3 Selectors and translates them to XPath 1.0"
- depends=('python2')
-
- cd python2-cssselect-${pkgver}
- python2 setup.py install --root="${pkgdir}/" --optimize=1
-
- install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-
- # Fix python2 shebang
- sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \
- "${pkgdir}"/usr/lib/python2.7/site-packages/cssselect/tests.py
-}
Copied: python-cssselect/repos/extra-any/PKGBUILD (from rev 199997, python-cssselect/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2013-11-21 00:58:43 UTC (rev 199998)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer:
+# Contributor: Simon Sapin <simon dot sapin at exyr dot org>
+
+pkgbase=python-cssselect
+pkgname=('python-cssselect' 'python2-cssselect')
+pkgver=0.9.1
+pkgrel=1
+license=('BSD')
+arch=('any')
+url="http://pypi.python.org/pypi/cssselect"
+makedepends=('python2' 'python')
+source=("http://pypi.python.org/packages/source/c/cssselect/cssselect-${pkgver}.tar.gz")
+md5sums=('c74f45966277dc7a0f768b9b0f3522ac')
+
+prepare() {
+ cp -r cssselect-${pkgver} python2-cssselect-${pkgver}
+}
+
+package_python-cssselect() {
+ pkgdesc="A Python3 library that parses CSS3 Selectors and translates them to XPath 1.0"
+ depends=('python')
+
+ cd cssselect-${pkgver}
+ python setup.py install --root="${pkgdir}/" --optimize=1
+
+ install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
+
+package_python2-cssselect() {
+ pkgdesc="A Python2 library that parses CSS3 Selectors and translates them to XPath 1.0"
+ depends=('python2')
+
+ cd python2-cssselect-${pkgver}
+
+ # Fix python2 shebang
+ sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' cssselect/tests.py
+
+ python2 setup.py install --root="${pkgdir}/" --optimize=1
+
+ install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
More information about the arch-commits
mailing list