[arch-commits] Commit in python-cssutils/repos/community-staging-any (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu Oct 31 17:09:48 UTC 2019
Date: Thursday, October 31, 2019 @ 17:09:48
Author: foutrelis
Revision: 521281
archrelease: copy trunk to community-staging-any
Added:
python-cssutils/repos/community-staging-any/PKGBUILD
(from rev 521280, python-cssutils/trunk/PKGBUILD)
Deleted:
python-cssutils/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 80 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 40 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-31 17:09:44 UTC (rev 521280)
+++ PKGBUILD 2019-10-31 17:09:48 UTC (rev 521281)
@@ -1,40 +0,0 @@
-# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
-# Contributor: Simon Sapin <simon dot sapin at exyr dot org>
-# Contributor: Michal Marek <reqamst at gmail dot com>
-# Contributor: Rick W. Chena <stuffcorpse at archlinux.us>
-# Contributor: Andrea Fagiani <andfagiani _at_ gmail dot com>
-
-pkgname=python-cssutils
-pkgver=1.0.2
-pkgrel=3
-pkgdesc="A CSS Cascading Style Sheets library for Python"
-arch=('any')
-url="http://cthedot.de/cssutils/"
-license=('LGPL3')
-depends=('python')
-makedepends=('python-setuptools')
-# We need to include mock as a check dependency due to the following pbr bug:
-# https://bugs.launchpad.net/pbr/+bug/1493735
-source=("https://pypi.python.org/packages/5c/0b/c5f29d29c037e97043770b5e7c740b6252993e4b57f029b3cd03c78ddfec/cssutils-1.0.2.tar.gz")
-md5sums=('dc66d96c2d78f1687f59ac412fe9d318')
-
-build() {
- # Use #!/usr/bin/python3
- cd cssutils-${pkgver}/src
- find . -maxdepth 2 -mindepth 1 -type f -iname '*.py' -exec sed -i 's/env python/python3/' '{}' \;
-}
-
-package() {
- cd "cssutils-${pkgver}"
-
- python3 setup.py install --root="${pkgdir}/" --optimize=1
-
- # Don't install tests (FS#27567)
- rm -rf "${pkgdir}/usr/lib/python3.3/site-packages/tests"
-}
-
-check() {
- cd "${srcdir}/cssutils-${pkgver}"
- 2to3 --no-diffs -nw src
- python3 setup.py test
-}
Copied: python-cssutils/repos/community-staging-any/PKGBUILD (from rev 521280, python-cssutils/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-31 17:09:48 UTC (rev 521281)
@@ -0,0 +1,40 @@
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Simon Sapin <simon dot sapin at exyr dot org>
+# Contributor: Michal Marek <reqamst at gmail dot com>
+# Contributor: Rick W. Chena <stuffcorpse at archlinux.us>
+# Contributor: Andrea Fagiani <andfagiani _at_ gmail dot com>
+
+pkgname=python-cssutils
+pkgver=1.0.2
+pkgrel=4
+pkgdesc="A CSS Cascading Style Sheets library for Python"
+arch=('any')
+url="http://cthedot.de/cssutils/"
+license=('LGPL3')
+depends=('python')
+makedepends=('python-setuptools')
+# We need to include mock as a check dependency due to the following pbr bug:
+# https://bugs.launchpad.net/pbr/+bug/1493735
+source=("https://pypi.python.org/packages/5c/0b/c5f29d29c037e97043770b5e7c740b6252993e4b57f029b3cd03c78ddfec/cssutils-1.0.2.tar.gz")
+md5sums=('dc66d96c2d78f1687f59ac412fe9d318')
+
+build() {
+ # Use #!/usr/bin/python3
+ cd cssutils-${pkgver}/src
+ find . -maxdepth 2 -mindepth 1 -type f -iname '*.py' -exec sed -i 's/env python/python3/' '{}' \;
+}
+
+package() {
+ cd "cssutils-${pkgver}"
+
+ python3 setup.py install --root="${pkgdir}/" --optimize=1
+
+ # Don't install tests (FS#27567)
+ rm -rf "${pkgdir}/usr/lib/python3.3/site-packages/tests"
+}
+
+check() {
+ cd "${srcdir}/cssutils-${pkgver}"
+ 2to3 --no-diffs -nw src
+ python3 setup.py test
+}
More information about the arch-commits
mailing list