[arch-commits] Commit in python2-genshi/trunk (PKGBUILD)
Eli Schwartz
eschwartz at archlinux.org
Sun Jun 3 06:27:54 UTC 2018
Date: Sunday, June 3, 2018 @ 06:27:53
Author: eschwartz
Revision: 338650
upgpkg: python2-genshi 0.7-4
fix package with C extension and 32-bit lib being marked as -any package
use HTTPS sources
package optimized bytecode
split build/package
.BUILDINFO rebuild
Modified:
python2-genshi/trunk/PKGBUILD (contents, properties)
----------+
PKGBUILD | 19 ++++++++++++-------
1 file changed, 12 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-06-03 06:26:10 UTC (rev 338649)
+++ PKGBUILD 2018-06-03 06:27:53 UTC (rev 338650)
@@ -1,23 +1,28 @@
-# $Id: PKGBUILD 66142 2012-02-23 01:46:58Z spupykin $
+# $Id$
# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
# Contributor : Todd Maynard <arch at toddmaynard.com>
pkgname=python2-genshi
pkgver=0.7
-pkgrel=3
+pkgrel=4
pkgdesc="Python toolkit for stream-based generation of output for the web."
-url="http://genshi.edgewall.org/"
+url="https://genshi.edgewall.org/"
license=("BSD")
-arch=('any')
+arch=('x86_64')
depends=('python2')
makedepends=('python2-setuptools')
conflicts=('python-genshi<=0.6-3')
replaces=('python-genshi<=0.6-3')
-source=("http://ftp.edgewall.com/pub/genshi/Genshi-$pkgver.tar.gz")
+source=("https://ftp.edgewall.org/pub/genshi/Genshi-$pkgver.tar.gz")
md5sums=('54e64dd69da3ec961f86e686e0848a82')
+build() {
+ cd "$srcdir"/Genshi-${pkgver}
+ python2 setup.py build
+}
+
package() {
cd "$srcdir"/Genshi-${pkgver}
- python2 setup.py install --root="$pkgdir"
- install -D -m0644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+ python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
Property changes on: python2-genshi/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list