python-mechanize: drop package
This commit is contained in:
parent
4f14176a7c
commit
1419c39e43
3 changed files with 19 additions and 30 deletions
|
@ -1,29 +0,0 @@
|
|||
# Template file for 'python-mechanize'
|
||||
pkgname=python-mechanize
|
||||
version=0.4.3
|
||||
revision=4
|
||||
wrksrc="mechanize-${version}"
|
||||
build_style=python-module
|
||||
pycompile_module="mechanize"
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
depends="python python-html5lib"
|
||||
short_desc="Stateful programmatic web browsing (Python2)"
|
||||
maintainer="Farhad Shahbazi <grauwolf@geekosphere.org>"
|
||||
license="BSD-3-Clause"
|
||||
homepage="https://github.com/python-mechanize/mechanize"
|
||||
distfiles="https://github.com/python-mechanize/mechanize/archive/v${version}.tar.gz"
|
||||
checksum=7c452a3eed7f83a13674027a58a4afe57ca67630d252a789ac1c15dcd55d310c
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
||||
python3-mechanize_package() {
|
||||
depends="python3 python3-html5lib"
|
||||
pycompile_module="mechanize"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3*
|
||||
vlicense LICENSE
|
||||
}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
python-mechanize
|
19
srcpkgs/python3-mechanize/template
Normal file
19
srcpkgs/python3-mechanize/template
Normal file
|
@ -0,0 +1,19 @@
|
|||
# Template file for 'python3-mechanize'
|
||||
pkgname=python3-mechanize
|
||||
version=0.4.3
|
||||
revision=5
|
||||
wrksrc="mechanize-${version}"
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools"
|
||||
depends="python3 python3-html5lib"
|
||||
checkdepends="$depends"
|
||||
short_desc="Stateful programmatic web browsing (Python3)"
|
||||
maintainer="Farhad Shahbazi <grauwolf@geekosphere.org>"
|
||||
license="BSD-3-Clause"
|
||||
homepage="https://github.com/python-mechanize/mechanize"
|
||||
distfiles="https://github.com/python-mechanize/mechanize/archive/v${version}.tar.gz"
|
||||
checksum=7c452a3eed7f83a13674027a58a4afe57ca67630d252a789ac1c15dcd55d310c
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue