31 lines
944 B
Bash
31 lines
944 B
Bash
# Template file for 'python-traitlets'
|
|
pkgname=python-traitlets
|
|
version=4.3.3
|
|
revision=1
|
|
archs=noarch
|
|
wrksrc="traitlets-${version}"
|
|
build_style=python-module
|
|
pycompile_module="traitlets"
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python-decorator python-ipython_genutils python-six python-enum34"
|
|
short_desc="Configuration system for Python2 applications"
|
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://github.com/ipython/traitlets"
|
|
distfiles="${PYPI_SITE}/t/traitlets/traitlets-${version}.tar.gz"
|
|
checksum=d023ee369ddd2763310e4c3eae1ff649689440d4ae59d7485eb4cfbbe3e359f7
|
|
|
|
post_install() {
|
|
vlicense COPYING.md LICENSE
|
|
}
|
|
|
|
python3-traitlets_package() {
|
|
archs=noarch
|
|
depends="python3-decorator python3-ipython_genutils python3-six"
|
|
pycompile_module="traitlets"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense COPYING.md LICENSE
|
|
}
|
|
}
|