32 lines
898 B
Bash
32 lines
898 B
Bash
# Template file for 'python-ipython_genutils'
|
|
pkgname=python-ipython_genutils
|
|
version=0.2.0
|
|
revision=2
|
|
archs=noarch
|
|
wrksrc="ipython_genutils-${version}"
|
|
build_style=python-module
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python"
|
|
pycompile_module="ipython_genutils"
|
|
short_desc="Vestigial utilities from IPython (Python2)"
|
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
homepage="https://github.com/ipython/ipython_genutils"
|
|
license="3-clause-BSD"
|
|
distfiles="${PYPI_SITE}/i/ipython_genutils/ipython_genutils-${version}.tar.gz"
|
|
checksum=eb2e116e75ecef9d4d228fdc66af54269afa26ab4463042e33785b887c628ba8
|
|
|
|
post_install() {
|
|
vlicense COPYING.md LICENSE
|
|
}
|
|
|
|
python3-ipython_genutils_package() {
|
|
archs=noarch
|
|
depends="python3"
|
|
pycompile_module="ipython_genutils"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense COPYING.md LICENSE
|
|
}
|
|
}
|