New package: fonttools-4.1.0
This commit is contained in:
parent
b23faf706c
commit
5564271d5b
6 changed files with 36 additions and 65 deletions
34
srcpkgs/fonttools/template
Normal file
34
srcpkgs/fonttools/template
Normal file
|
@ -0,0 +1,34 @@
|
|||
# Template file for 'fonttools'
|
||||
pkgname=fonttools
|
||||
version=4.1.0
|
||||
revision=2
|
||||
archs=noarch
|
||||
build_style=python3-module
|
||||
pycompile_module="fonttools"
|
||||
hostmakedepends="python3-devel python3-setuptools"
|
||||
depends="python3"
|
||||
short_desc="Library to manipulate font files from Python"
|
||||
maintainer="svenper <svenper@tuta.io>"
|
||||
license="MIT, OFL-1.1, BSD-3-Clause"
|
||||
homepage="https://github.com/fonttools/fonttools"
|
||||
distfiles="https://github.com/fonttools/fonttools/archive/${version}.tar.gz"
|
||||
checksum=8c1919e11c3152446ec8de8283a6f43fffde6acdcab81b468d7fd6ad4b54e798
|
||||
replaces="python-fonttools>=0 python3-fonttools>=0"
|
||||
provides="python-fonttools>=${version}_${revision} python3-fonttools>=${version}_${revision}"
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
vlicense LICENSE.external
|
||||
}
|
||||
|
||||
python-fonttools_package() {
|
||||
depends="fontools>=${version}_${revision}"
|
||||
build_style=meta
|
||||
short_desc+=" (transitional dummy package Python 2)"
|
||||
}
|
||||
|
||||
python3-fonttools_package() {
|
||||
depends="fontools>=${version}_${revision}"
|
||||
build_style=meta
|
||||
short_desc+=" (transitional dummy package Python 3)"
|
||||
}
|
1
srcpkgs/python-fonttools
Symbolic link
1
srcpkgs/python-fonttools
Symbolic link
|
@ -0,0 +1 @@
|
|||
fonttools
|
|
@ -1,31 +0,0 @@
|
|||
# Template file for 'python-fonttools'
|
||||
pkgname=python-fonttools
|
||||
version=3.44.0
|
||||
revision=4
|
||||
wrksrc="${pkgname#python-}-${version}"
|
||||
build_style=python2-module
|
||||
pycompile_module="fonttools"
|
||||
hostmakedepends="python-devel python-setuptools"
|
||||
makedepends="${hostmakedepends}"
|
||||
short_desc="Library to manipulate font files from Python2"
|
||||
maintainer="svenper <svenper@tuta.io>"
|
||||
license="MIT, OFL-1.1, BSD-3-Clause"
|
||||
homepage="https://github.com/fonttools/fonttools"
|
||||
distfiles="https://github.com/fonttools/fonttools/archive/${version}.tar.gz"
|
||||
checksum=9dadbca88a5a841d821f6892fa9f4715ec03afd53980aaf4d61bd4be345b24ed
|
||||
alternatives="
|
||||
fonttools:fonttools:/usr/bin/fonttools2
|
||||
fonttools:pyftmerge:/usr/bin/pyftmerge2
|
||||
fonttools:pyftsubset:/usr/bin/pyftsubset2
|
||||
fonttools:ttx:/usr/bin/ttx2
|
||||
fonttools:ttx.1:/usr/share/man/man1/ttx2.1"
|
||||
|
||||
post_install() {
|
||||
mv ${DESTDIR}/usr/bin/fonttools{,2}
|
||||
mv ${DESTDIR}/usr/bin/pyftmerge{,2}
|
||||
mv ${DESTDIR}/usr/bin/pyftsubset{,2}
|
||||
mv ${DESTDIR}/usr/bin/ttx{,2}
|
||||
mv ${DESTDIR}/usr/share/man/man1/ttx{,2}.1
|
||||
vlicense LICENSE
|
||||
vlicense LICENSE.external
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
# "The v4.x version series only supports Python 3.6 or greater.
|
||||
# You can keep using fonttools 3.x if you need support for Python 2."
|
||||
ignore="[4-9].* [1-9][0-9]*.*"
|
1
srcpkgs/python3-fonttools
Symbolic link
1
srcpkgs/python3-fonttools
Symbolic link
|
@ -0,0 +1 @@
|
|||
fonttools
|
|
@ -1,31 +0,0 @@
|
|||
# Template file for 'python3-fonttools'
|
||||
pkgname=python3-fonttools
|
||||
version=4.1.0
|
||||
revision=1
|
||||
wrksrc="${pkgname#python3-}-${version}"
|
||||
build_style=python3-module
|
||||
pycompile_module="fonttools"
|
||||
hostmakedepends="python3-devel python3-setuptools"
|
||||
makedepends="${hostmakedepends}"
|
||||
short_desc="Library to manipulate font files from Python3"
|
||||
maintainer="svenper <svenper@tuta.io>"
|
||||
license="MIT, OFL-1.1, BSD-3-Clause"
|
||||
homepage="https://github.com/fonttools/fonttools"
|
||||
distfiles="https://github.com/fonttools/fonttools/archive/${version}.tar.gz"
|
||||
checksum=8c1919e11c3152446ec8de8283a6f43fffde6acdcab81b468d7fd6ad4b54e798
|
||||
alternatives="
|
||||
fonttools:fonttools:/usr/bin/fonttools3
|
||||
fonttools:pyftmerge:/usr/bin/pyftmerge3
|
||||
fonttools:pyftsubset:/usr/bin/pyftsubset3
|
||||
fonttools:ttx:/usr/bin/ttx3
|
||||
fonttools:ttx.1:/usr/share/man/man1/ttx3.1"
|
||||
|
||||
post_install() {
|
||||
mv ${DESTDIR}/usr/bin/fonttools{,3}
|
||||
mv ${DESTDIR}/usr/bin/pyftmerge{,3}
|
||||
mv ${DESTDIR}/usr/bin/pyftsubset{,3}
|
||||
mv ${DESTDIR}/usr/bin/ttx{,3}
|
||||
mv ${DESTDIR}/usr/share/man/man1/ttx{,3}.1
|
||||
vlicense LICENSE
|
||||
vlicense LICENSE.external
|
||||
}
|
Loading…
Reference in a new issue