blob: 0fdad0c25bb6f8ba4ad1112cafb61aa16e78b697 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer:
pkgname=py-mechanize
_pkgname=mechanize
pkgver=0.2.4
pkgrel=0
pkgdesc="Stateful programmatic web browsing in Python"
url="http://wwwsearch.sourceforge.net/mechanize/"
arch="noarch"
license="BSD ZPL"
depends=
depends_dev="python-dev py-setuptools"
makedepends="$depends_dev"
install=""
subpackages=""
source="http://wwwsearch.sourceforge.net/$_pkgname/src/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
package() {
cd "$_builddir"
python setup.py install --root=$pkgdir
install -Dm644 COPYING.txt ${pkgdir}/usr/share/licenses/custom/${pkgname}/COPYING.txt
}
md5sums="0c1c3cec1c6d7b5d87662a069f04eb8d mechanize-0.2.4.tar.gz"
|