Date: Thursday, December 2, 2021 @ 15:17:37 Author: foutrelis Revision: 1061972
archrelease: copy trunk to community-staging-any Added: python-mechanize/repos/community-staging-any/PKGBUILD (from rev 1061970, python-mechanize/trunk/PKGBUILD) Deleted: python-mechanize/repos/community-staging-any/PKGBUILD ----------+ PKGBUILD | 90 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 45 insertions(+), 45 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-12-02 15:17:36 UTC (rev 1061971) +++ PKGBUILD 2021-12-02 15:17:37 UTC (rev 1061972) @@ -1,45 +0,0 @@ -# Maintainer: Eli Schwartz <eschwa...@archlinux.org> -# Maintainer: Jelle van der Waa <je...@archlinux.org> -# Contributor: Alexander F Rødseth <xypr...@archlinux.org> -# Contributor: Chris Brannon <cmbranno...@gmail.com> -# Contributor: Douglas Soares de Andrade -# Contributor: Roberto Alsina <rals...@kde.org> - -_pkgname=mechanize -pkgname=python-mechanize -pkgver=0.4.6 -pkgrel=2 -epoch=1 -pkgdesc='Stateful programmatic web browsing in Python' -arch=('any') -url="https://github.com/python-mechanize/mechanize" -license=('BSD') -depends=('python-html5lib') -makedepends=('python-setuptools') -checkdepends=('python-zope-interface' 'python-twisted') -optdepends=('python-html5-parser: faster parsing of HTML') -source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz"{,.asc}) -sha256sums=('d16cea241253b5eb6380bf8a46627cad91d1f2c3f93a33279a31ce276d6c5d44' - 'SKIP') -b2sums=('0adc7e0bcbef93051412d0d22e9f426984e197791b43b007087d70d3b15d4fce2f4868e8ad520e8621d35890d6454bd9bfc0910dc5af3d640e2620de4f536e16' - 'SKIP') -validpgpkeys=('3CE1780F78DD88DF45194FD706BC317B515ACE7C') # Kovid Goyal (New longer key) <ko...@kovidgoyal.net> - -build() { - cd "mechanize-$pkgver" - - python setup.py build -} - -check() { - cd "mechanize-$pkgver" - - python setup.py test -} - -package() { - cd "mechanize-$pkgver" - - python setup.py install --root="$pkgdir" --optimize=1 --skip-build - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} Copied: python-mechanize/repos/community-staging-any/PKGBUILD (from rev 1061970, python-mechanize/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-12-02 15:17:37 UTC (rev 1061972) @@ -0,0 +1,45 @@ +# Maintainer: Eli Schwartz <eschwa...@archlinux.org> +# Maintainer: Jelle van der Waa <je...@archlinux.org> +# Contributor: Alexander F Rødseth <xypr...@archlinux.org> +# Contributor: Chris Brannon <cmbranno...@gmail.com> +# Contributor: Douglas Soares de Andrade +# Contributor: Roberto Alsina <rals...@kde.org> + +_pkgname=mechanize +pkgname=python-mechanize +pkgver=0.4.6 +pkgrel=3 +epoch=1 +pkgdesc='Stateful programmatic web browsing in Python' +arch=('any') +url="https://github.com/python-mechanize/mechanize" +license=('BSD') +depends=('python-html5lib') +makedepends=('python-setuptools') +checkdepends=('python-zope-interface' 'python-twisted') +optdepends=('python-html5-parser: faster parsing of HTML') +source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz"{,.asc}) +sha256sums=('d16cea241253b5eb6380bf8a46627cad91d1f2c3f93a33279a31ce276d6c5d44' + 'SKIP') +b2sums=('0adc7e0bcbef93051412d0d22e9f426984e197791b43b007087d70d3b15d4fce2f4868e8ad520e8621d35890d6454bd9bfc0910dc5af3d640e2620de4f536e16' + 'SKIP') +validpgpkeys=('3CE1780F78DD88DF45194FD706BC317B515ACE7C') # Kovid Goyal (New longer key) <ko...@kovidgoyal.net> + +build() { + cd "mechanize-$pkgver" + + python setup.py build +} + +check() { + cd "mechanize-$pkgver" + + python setup.py test +} + +package() { + cd "mechanize-$pkgver" + + python setup.py install --root="$pkgdir" --optimize=1 --skip-build + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}