[arch-commits] Commit in python-mechanize/repos/community-any (PKGBUILD PKGBUILD)

Eli Schwartz eschwartz at archlinux.org
Sun Jan 27 03:19:03 UTC 2019


    Date: Sunday, January 27, 2019 @ 03:18:58
  Author: eschwartz
Revision: 428198

archrelease: copy trunk to community-any

Added:
  python-mechanize/repos/community-any/PKGBUILD
    (from rev 428197, python-mechanize/trunk/PKGBUILD)
Deleted:
  python-mechanize/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  107 ++++++++++++++++++++++++++++++++++---------------------------
 1 file changed, 61 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-01-27 03:18:37 UTC (rev 428197)
+++ PKGBUILD	2019-01-27 03:18:58 UTC (rev 428198)
@@ -1,46 +0,0 @@
-# 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.7
-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=('ee66e1a6af790898894dd0318914ced413d94f46a54f881eb337081ff9702cd2'
-            '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:

Copied: python-mechanize/repos/community-any/PKGBUILD (from rev 428197, python-mechanize/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-01-27 03:18:58 UTC (rev 428198)
@@ -0,0 +1,61 @@
+# 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=(python-mechanize python2-mechanize)
+pkgver=0.4.0
+pkgrel=1
+epoch=1
+pkgdesc='Stateful programmatic web browsing in Python'
+arch=('any')
+url="https://github.com/python-mechanize/mechanize"
+license=('BSD')
+makedepends=('python-setuptools' 'python-html5lib'
+              'python2-setuptools' 'python2-html5lib')
+checkdepends=('python-zope-interface' 'python-twisted'
+              'python2-zope-interface' 'python2-twisted')
+source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz"{,.asc})
+sha256sums=('6eb35881e08436dfba2db00abec98fe948ec25122edee77589ef060fc747e595'
+            'SKIP')
+validpgpkeys=('3CE1780F78DD88DF45194FD706BC317B515ACE7C') # Kovid Goyal (New longer key) <kovid at kovidgoyal.net>
+
+build() {
+  cd "mechanize-$pkgver"
+
+  python setup.py build
+  python2 setup.py build
+}
+
+check() {
+  cd "mechanize-$pkgver"
+
+  python setup.py test
+  python2 setup.py test
+}
+
+package_python-mechanize() {
+  depends=('python-html5lib')
+  optdepends=('python-html5-parser: faster parsing of HTML')
+  cd "mechanize-$pkgver"
+
+  python 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:
+
+package_python2-mechanize() {
+  depends=('python2-html5lib')
+  optdepends=('python2-html5-parser: faster parsing of HTML')
+  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