mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-16 03:53:51 +02:00
New package: python-astroid-1.3.2
This commit is contained in:
parent
5039d35307
commit
d1e66d356b
2 changed files with 34 additions and 0 deletions
33
srcpkgs/python-astroid/template
Normal file
33
srcpkgs/python-astroid/template
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
# Template file for 'python-astroid'
|
||||||
|
pkgname=python-astroid
|
||||||
|
version=1.3.2
|
||||||
|
revision=1
|
||||||
|
noarch=yes
|
||||||
|
wrksrc="astroid-${version}"
|
||||||
|
build_style=python-module
|
||||||
|
python_versions="2.7 3.4"
|
||||||
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
||||||
|
depends="python-logilab-common python-six"
|
||||||
|
pycompile_module="astroid"
|
||||||
|
short_desc="Abstract syntax tree for Python2"
|
||||||
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||||
|
homepage="https://bitbucket.org/logilab/astroid"
|
||||||
|
license="GPL-2, LGPL-2.1"
|
||||||
|
distfiles="${PYPI_SITE}/a/astroid/astroid-${version}.tar.gz"
|
||||||
|
checksum=9d1f1803958238e93f2c17e1b38cecfa5bcca40c1bbb99aea80fe10c596f45c1
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
# no tests
|
||||||
|
rm -rf ${DESTDIR}/usr/lib/python*/site-packages/astroid/tests
|
||||||
|
}
|
||||||
|
|
||||||
|
python3.4-astroid_package() {
|
||||||
|
noarch=yes
|
||||||
|
depends="python3.4-logilab-common python3.4-six"
|
||||||
|
pycompile_version="3.4"
|
||||||
|
pycompile_module="astroid"
|
||||||
|
short_desc="${short_desc/Python2/Python3.4}"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/lib/python3.4
|
||||||
|
}
|
||||||
|
}
|
1
srcpkgs/python3.4-astroid
Symbolic link
1
srcpkgs/python3.4-astroid
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-astroid
|
Loading…
Add table
Reference in a new issue