mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 22:57:56 +08:00
29 lines
776 B
Bash
29 lines
776 B
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# contributor (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=python-mechanize
|
|
pkgver=0.2.2
|
|
pkgrel=2
|
|
pkgdesc="Stateful programmatic web browsing in Python"
|
|
arch=(any)
|
|
url="http://wwwsearch.sourceforge.net/mechanize/"
|
|
license=(BSD ZPL)
|
|
depends=(python2)
|
|
makedepends=(setuptools)
|
|
|
|
source=(http://wwwsearch.sourceforge.net/mechanize/src/mechanize-$pkgver.tar.gz)
|
|
md5sums=('22fd64c71c065619d27ea8870da6ca68')
|
|
|
|
build() {
|
|
cd "$srcdir/mechanize-$pkgver"
|
|
python2 setup.py install --root="$pkgdir" --optimize=1
|
|
install -D -m644 "$srcdir/mechanize-$pkgver/COPYING.txt" "$pkgdir/usr/share/licenses/$pkgname/COPYING.txt"
|
|
}
|
|
|
|
|