mccabe,pycodestyle,pyflakes: renamed to python-{mccabe,pycodestyle,pyflakes}

Transitional dummy packages now.
This commit is contained in:
Alessio Sergi 2016-10-24 13:00:23 +02:00
parent ddfba0f822
commit 23c692acba
13 changed files with 149 additions and 110 deletions

View File

@ -1,40 +1,11 @@
# Template file for 'mccabe'
pkgname=mccabe
version=0.5.2
revision=2
revision=3
noarch=yes
build_style=python-module
pycompile_module="mccabe.py"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="McCabe complexity checker for Python2"
build_style=meta
short_desc="McCabe complexity checker for Python2 (transitional dummy package)"
depends="python-mccabe>=${version}_${revision}"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://github.com/PyCQA/mccabe"
license="MIT"
distfiles="${PYPI_SITE}/m/mccabe/mccabe-${version}.tar.gz"
checksum=3473f06c8b757bbb5cdf295099bf64032e5f7d6fe0ec2f97ee9b23cb0a435aff
pre_build() {
sed -i '/setup_requires=/d' setup.py
}
post_install() {
vlicense LICENSE
}
python3-mccabe_package() {
noarch=yes
pycompile_module="mccabe.py"
replaces="python3.4-mccabe>=0"
depends="python3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}
python3.4-mccabe_package() {
noarch=yes
build_style=meta
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
depends="python3-mccabe>=${version}_${revision}"
}

View File

@ -1,45 +1,11 @@
# Template file for 'pycodestyle'
pkgname=pycodestyle
version=2.0.0
revision=3
revision=4
noarch=yes
build_style=python-module
pycompile_module="pycodestyle.py"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-setuptools"
short_desc="Python2 style guide checker (formerly called pep8)"
build_style=meta
short_desc="Python2 style guide checker (transitional dummy package)"
depends="python-pycodestyle>=${version}_${revision}"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://github.com/PyCQA/pycodestyle"
license="MIT"
distfiles="${PYPI_SITE}/p/pycodestyle/pycodestyle-${version}.tar.gz"
checksum=37f0420b14630b0eaaf452978f3a6ea4816d787c3e6dcbba6fb255030adae2e7
alternatives="pycodestyle:pycodestyle:/usr/bin/pycodestyle2"
post_install() {
# fix permissions
find ${DESTDIR}/usr/lib/python*/site-packages -type f -perm 0640 \
-exec chmod 0644 "{}" \;
sed -n '/Copyright/,/SOFTWARE\./p' pycodestyle.py >LICENSE
vlicense LICENSE
}
python3-pycodestyle_package() {
noarch=yes
pycompile_module="pycodestyle.py"
replaces="python3.4-pycodestyle>=0"
depends="python3-setuptools"
short_desc="${short_desc/Python2/Python3}"
alternatives="pycodestyle:pycodestyle:/usr/bin/pycodestyle3"
pkg_install() {
vmove usr/bin/*3
vmove usr/lib/python3*
vlicense LICENSE
}
}
python3.4-pycodestyle_package() {
noarch=yes
build_style=meta
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
depends="python3-pycodestyle>=${version}_${revision}"
}

View File

@ -1,40 +1,11 @@
# Template file for 'pyflakes'
pkgname=pyflakes
version=1.3.0
revision=2
revision=3
noarch=yes
build_style=python-module
pycompile_module="pyflakes"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-setuptools"
short_desc="Passive checker of Python programs (Python2)"
build_style=meta
short_desc="Passive checker of Python programs (transitional dummy package)"
depends="python-pyflakes>=${version}_${revision}"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://github.com/PyCQA/pyflakes"
license="MIT"
distfiles="${PYPI_SITE}/p/pyflakes/pyflakes-${version}.tar.gz"
checksum=a4f93317c97a9d9ed71d6ecfe08b68e3de9fea3f4d94dcd1d9d83ccbf929bc31
alternatives="pyflakes:pyflakes:/usr/bin/pyflakes2"
post_install() {
vlicense LICENSE
}
python3-pyflakes_package() {
noarch=yes
pycompile_module="pyflakes"
replaces="python3.4-pyflakes>=0"
depends="python3-setuptools"
short_desc="${short_desc/Python2/Python3}"
alternatives="pyflakes:pyflakes:/usr/bin/pyflakes3"
pkg_install() {
vmove usr/bin/*3
vmove usr/lib/python3*
vlicense LICENSE
}
}
python3.4-pyflakes_package() {
noarch=yes
build_style=meta
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
depends="python3-pyflakes>=${version}_${revision}"
}

View File

@ -0,0 +1,42 @@
# Template file for 'python-mccabe'
pkgname=python-mccabe
version=0.5.2
revision=4
noarch=yes
replaces="mccabe>=0"
wrksrc="mccabe-${version}"
build_style=python-module
pycompile_module="mccabe.py"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="McCabe complexity checker for Python2"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://github.com/PyCQA/mccabe"
license="MIT"
distfiles="${PYPI_SITE}/m/mccabe/mccabe-${version}.tar.gz"
checksum=3473f06c8b757bbb5cdf295099bf64032e5f7d6fe0ec2f97ee9b23cb0a435aff
pre_build() {
sed -i '/setup_requires=/d' setup.py
}
post_install() {
vlicense LICENSE
}
python3-mccabe_package() {
noarch=yes
pycompile_module="mccabe.py"
replaces="python3.4-mccabe>=0"
depends="python3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}
python3.4-mccabe_package() {
noarch=yes
build_style=meta
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
depends="python3-mccabe>=${version}_${revision}"
}

View File

@ -0,0 +1,47 @@
# Template file for 'python-pycodestyle'
pkgname=python-pycodestyle
version=2.0.0
revision=5
noarch=yes
replaces="pycodestyle>=0"
wrksrc="pycodestyle-${version}"
build_style=python-module
pycompile_module="pycodestyle.py"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-setuptools"
short_desc="Python2 style guide checker (formerly called pep8)"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://github.com/PyCQA/pycodestyle"
license="MIT"
distfiles="${PYPI_SITE}/p/pycodestyle/pycodestyle-${version}.tar.gz"
checksum=37f0420b14630b0eaaf452978f3a6ea4816d787c3e6dcbba6fb255030adae2e7
alternatives="pycodestyle:pycodestyle:/usr/bin/pycodestyle2"
post_install() {
# fix permissions
find ${DESTDIR}/usr/lib/python*/site-packages -type f -perm 0640 \
-exec chmod 0644 "{}" \;
sed -n '/Copyright/,/SOFTWARE\./p' pycodestyle.py >LICENSE
vlicense LICENSE
}
python3-pycodestyle_package() {
noarch=yes
pycompile_module="pycodestyle.py"
replaces="python3.4-pycodestyle>=0"
depends="python3-setuptools"
short_desc="${short_desc/Python2/Python3}"
alternatives="pycodestyle:pycodestyle:/usr/bin/pycodestyle3"
pkg_install() {
vmove usr/bin/*3
vmove usr/lib/python3*
vlicense LICENSE
}
}
python3.4-pycodestyle_package() {
noarch=yes
build_style=meta
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
depends="python3-pycodestyle>=${version}_${revision}"
}

View File

@ -0,0 +1,42 @@
# Template file for 'python-pyflakes'
pkgname=python-pyflakes
version=1.3.0
revision=4
noarch=yes
replaces="pyflakes>=0"
wrksrc="pyflakes-${version}"
build_style=python-module
pycompile_module="pyflakes"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-setuptools"
short_desc="Passive checker of Python programs (Python2)"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://github.com/PyCQA/pyflakes"
license="MIT"
distfiles="${PYPI_SITE}/p/pyflakes/pyflakes-${version}.tar.gz"
checksum=a4f93317c97a9d9ed71d6ecfe08b68e3de9fea3f4d94dcd1d9d83ccbf929bc31
alternatives="pyflakes:pyflakes:/usr/bin/pyflakes2"
post_install() {
vlicense LICENSE
}
python3-pyflakes_package() {
noarch=yes
pycompile_module="pyflakes"
replaces="python3.4-pyflakes>=0"
depends="python3-setuptools"
short_desc="${short_desc/Python2/Python3}"
alternatives="pyflakes:pyflakes:/usr/bin/pyflakes3"
pkg_install() {
vmove usr/bin/*3
vmove usr/lib/python3*
vlicense LICENSE
}
}
python3.4-pyflakes_package() {
noarch=yes
build_style=meta
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
depends="python3-pyflakes>=${version}_${revision}"
}

View File

@ -1 +1 @@
mccabe
python-mccabe

View File

@ -1 +1 @@
pycodestyle
python-pycodestyle

View File

@ -1 +1 @@
pyflakes
python-pyflakes

View File

@ -1 +1 @@
mccabe
python-mccabe

View File

@ -1 +1 @@
pycodestyle
python-pycodestyle

View File

@ -1 +1 @@
pyflakes
python-pyflakes