217e7d31f2
After more than a year the switch to python3 packages, it is time to say them goodbye. So long, and thanks for all the fish.
32 lines
980 B
Bash
32 lines
980 B
Bash
# Template file for 'python-astroid'
|
|
pkgname=python-astroid
|
|
version=1.5.3
|
|
revision=2
|
|
noarch=yes
|
|
wrksrc="astroid-${version}"
|
|
build_style=python-module
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python-six python-lazy-object-proxy python-wrapt
|
|
python-backports.functools_lru_cache python-enum34 python-singledispatch"
|
|
pycompile_module="astroid"
|
|
short_desc="Abstract syntax tree for Python2"
|
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
homepage="https://github.com/PyCQA/astroid"
|
|
license="GPL-2, LGPL-2.1"
|
|
distfiles="${PYPI_SITE}/a/astroid/astroid-${version}.tar.gz"
|
|
checksum=492c2a2044adbf6a84a671b7522e9295ad2f6a7c781b899014308db25312dd35
|
|
|
|
post_install() {
|
|
# no tests
|
|
rm -rf ${DESTDIR}/usr/lib/python*/site-packages/astroid/tests
|
|
}
|
|
|
|
python3-astroid_package() {
|
|
noarch=yes
|
|
depends="python3-six python3-lazy-object-proxy python3-wrapt"
|
|
pycompile_module="astroid"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
}
|
|
}
|