parent
644d1bd455
commit
1d85cf124f
2 changed files with 32 additions and 0 deletions
31
srcpkgs/python-aalib/template
Normal file
31
srcpkgs/python-aalib/template
Normal file
|
@ -0,0 +1,31 @@
|
|||
# Template file for 'python-aalib'
|
||||
pkgname=python-aalib
|
||||
version=0.3.2
|
||||
revision=1
|
||||
build_style=python-module
|
||||
pycompile_module="aalib.py"
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
depends="aalib python"
|
||||
short_desc="Python2 interface to AAlib, an ASCII art library"
|
||||
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
||||
license="MIT"
|
||||
homepage="http://jwilk.net/software/python-aalib"
|
||||
distfiles="${PYPI_SITE}/p/python-aalib/python-aalib-${version}.tar.gz"
|
||||
checksum=c39071629e7962dcd926faf0135dc73e2a8eb5db9a53bc2ebe5965f8c39165a2
|
||||
noarch=yes
|
||||
|
||||
post_install() {
|
||||
sed -n '3,21p' < setup.py > LICENSE
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
||||
python3-aalib_package() {
|
||||
noarch=yes
|
||||
pycompile_module="aalib.py"
|
||||
depends="aalib python3"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3*
|
||||
vlicense LICENSE
|
||||
}
|
||||
}
|
1
srcpkgs/python3-aalib
Symbolic link
1
srcpkgs/python3-aalib
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-aalib
|
Loading…
Add table
Reference in a new issue