[arch-commits] Commit in python-mechanize/repos/community-any (PKGBUILD PKGBUILD)
Eli Schwartz
eschwartz at archlinux.org
Wed Jan 10 03:56:17 UTC 2018
Date: Wednesday, January 10, 2018 @ 03:56:16
Author: eschwartz
Revision: 280827
archrelease: copy trunk to community-any
Added:
python-mechanize/repos/community-any/PKGBUILD
(from rev 280826, python-mechanize/trunk/PKGBUILD)
Deleted:
python-mechanize/repos/community-any/PKGBUILD
----------+
PKGBUILD | 84 ++++++++++++++++++++++++++++++++++---------------------------
1 file changed, 47 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-01-10 03:55:35 UTC (rev 280826)
+++ PKGBUILD 2018-01-10 03:56:16 UTC (rev 280827)
@@ -1,37 +0,0 @@
-# $Id$
-# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
-# Contributor: Chris Brannon <cmbrannon79 at gmail.com>
-# Contributor: Douglas Soares de Andrade
-# Contributor: Roberto Alsina <ralsina at kde.org>
-
-_pkgname=mechanize
-pkgbase=python-mechanize
-pkgname=python2-mechanize
-pkgver=0.3.5
-pkgrel=1
-epoch=1
-pkgdesc='Stateful programmatic web browsing in Python'
-arch=('any')
-url="https://github.com/python-mechanize/mechanize"
-license=('BSD')
-depends=('python2' 'python2-html5lib')
-makedepends=('python2-distribute')
-checkdepends=('python2-zope-interface' 'python2-twisted')
-source=("https://pypi.io/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz"{,.asc})
-sha256sums=('d4f999b5a3028c900cb0e6ad3c996c73e3c69a664e6575493258104fa84d7166'
- 'SKIP')
-validpgpkeys=('3CE1780F78DD88DF45194FD706BC317B515ACE7C')
-
-package_python2-mechanize() {
- cd "mechanize-$pkgver"
-
- python2 setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-check() {
- cd "mechanize-$pkgver"
- python2 run_tests.py
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-mechanize/repos/community-any/PKGBUILD (from rev 280826, python-mechanize/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-01-10 03:56:16 UTC (rev 280827)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+# Contributor: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Chris Brannon <cmbrannon79 at gmail.com>
+# Contributor: Douglas Soares de Andrade
+# Contributor: Roberto Alsina <ralsina at kde.org>
+
+_pkgname=mechanize
+pkgbase=python-mechanize
+pkgname=python2-mechanize
+pkgver=0.3.6
+pkgrel=1
+epoch=1
+pkgdesc='Stateful programmatic web browsing in Python'
+arch=('any')
+url="https://github.com/python-mechanize/mechanize"
+license=('BSD')
+depends=('python2' 'python2-html5lib')
+optdepends=('python2-html5-parser: faster parsing of HTML')
+makedepends=('python2-distribute')
+checkdepends=('python2-zope-interface' 'python2-twisted')
+source=("https://pypi.io/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz"{,.asc})
+sha256sums=('654e705157156c1f316601ea4f7ab27e96713a8a4dabe1604e6cc8d48e0aa1e8'
+ 'SKIP')
+validpgpkeys=('3CE1780F78DD88DF45194FD706BC317B515ACE7C') # Kovid Goyal (New longer key) <kovid at kovidgoyal.net>
+
+build() {
+ cd "mechanize-$pkgver"
+
+ python2 setup.py build
+}
+
+check() {
+ cd "mechanize-$pkgver"
+
+ python2 run_tests.py
+}
+
+package_python2-mechanize() {
+ cd "mechanize-$pkgver"
+
+ python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list