-
Notifications
You must be signed in to change notification settings - Fork 296
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add python-fontmake extreme dependency package
- Loading branch information
Showing
38 changed files
with
1,002 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Maintainer: taotieren <[email protected]> | ||
|
||
pkgname=python-booleanoperations | ||
_name=booleanOperations | ||
pkgver=0.9.0 | ||
pkgrel=1 | ||
pkgdesc='Boolean operations on paths' | ||
url='https://github.com/typemytype/booleanOperations' | ||
license=('MIT') | ||
arch=(any) | ||
_pydeps=(pyclipper | ||
fonttools) | ||
depends=(python | ||
"${_pydeps[@]/#/python-}") | ||
checkdepends=(python-defcon | ||
python-fontpens | ||
python-pytest) | ||
makedepends=(python-setuptools-scm) | ||
source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.zip) | ||
sha256sums=('8cfa821c32ad374fa120d6b2e0b444ebeac57c91e6631528645fa19ac2a281b8') | ||
|
||
build() { | ||
cd "$_name-$pkgver" | ||
python setup.py build_ext --inplace | ||
python setup.py build | ||
} | ||
|
||
check() { | ||
cd "$_name-$pkgver" | ||
PYTHONPATH="$PWD/build/lib" pytest -v | ||
} | ||
|
||
package() { | ||
cd "$_name-$pkgver" | ||
python setup.py install --root="$pkgdir" --optimize=1 --skip-build | ||
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/${pkgname}/LICENSE" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
maintainers: | ||
- github: taotieren | ||
|
||
build_prefix: extra-x86_64 | ||
repo_depends: | ||
- python-defcon | ||
- python-fontpens | ||
- python-pyclipper | ||
|
||
post_build_script: | | ||
git_pkgbuild_commit() | ||
update_on: | ||
- source: pypi | ||
pypi: booleanOperations | ||
- alias: python |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Maintainer: taotieren <[email protected]> | ||
|
||
pkgname=python-cffsubr | ||
_name=${pkgname#python-} | ||
pkgver=0.2.9.post1 | ||
pkgrel=1 | ||
pkgdesc='Standalone CFF subroutinizer based on AFDKO tx' | ||
url='https://github.com/adobe-type-tools/cffsubr' | ||
license=('Apache-2.0') | ||
arch=(any) | ||
depends=(python | ||
python-fonttools) | ||
makedepends=(python-wheel | ||
python-setuptools-git-ls-files | ||
python-setuptools-scm | ||
git) | ||
checkdepends=(python-pytest) | ||
source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz) | ||
sha256sums=('6b31412dcf49c8fa84664bda867e2eddc55b6fe6fa696ff253c4f13a9ff2fc5c') | ||
|
||
prepare() { | ||
cd "$_name-$pkgver" | ||
git submodule update --init --recursive | ||
} | ||
|
||
build() { | ||
cd "$_name-$pkgver" | ||
python setup.py build_ext --inplace | ||
python setup.py build | ||
} | ||
|
||
check() { | ||
cd "$_name-$pkgver" | ||
PYTHONPATH="$PWD/build/lib.linux-$CARCH-cpython-${python_version}" pytest -v | ||
} | ||
|
||
package() { | ||
cd "$_name-$pkgver" | ||
python setup.py install --root="$pkgdir" --optimize=1 --skip-build | ||
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/${pkgname}/LICENSE" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
maintainers: | ||
- github: taotieren | ||
|
||
build_prefix: extra-x86_64 | ||
repo_depends: | ||
- python-setuptools-git-ls-files | ||
|
||
post_build_script: | | ||
git_pkgbuild_commit() | ||
update_on: | ||
- source: pypi | ||
pypi: cffsubr | ||
- alias: python |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Maintainer: taotieren <[email protected]> | ||
|
||
pkgname=python-compreffor | ||
_name=${pkgname#python-} | ||
pkgver=0.5.3 | ||
pkgrel=1 | ||
pkgdesc='A CFF table subroutinizer for FontTools' | ||
url='https://github.com/googlefonts/compreffor' | ||
license=('Apache-2.0') | ||
arch=(any) | ||
depends=(python | ||
python-fonttools) | ||
checkdepends=(python-pytest) | ||
makedepends=(cython | ||
python-setuptools-git-ls-files | ||
python-setuptools-scm | ||
python-wheel) | ||
source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz) | ||
sha256sums=('7d41296d4fb0aa1ef696dfd925d2af3227d4030622be99b3c7d4107dc6f8713a') | ||
|
||
build() { | ||
cd "$_name-$pkgver" | ||
python setup.py build_ext --inplace | ||
python setup.py build | ||
} | ||
|
||
check() { | ||
cd "$_name-$pkgver" | ||
PYTHONPATH="$PWD/build/lib.linux-$CARCH-cpython-${python_version}" pytest -v | ||
} | ||
|
||
package() { | ||
cd "$_name-$pkgver" | ||
python setup.py install --root="$pkgdir" --optimize=1 --skip-build | ||
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/${pkgname}/LICENSE" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
maintainers: | ||
- github: taotieren | ||
|
||
build_prefix: extra-x86_64 | ||
|
||
repo_depends: | ||
- python-setuptools-git-ls-files | ||
|
||
post_build_script: | | ||
git_pkgbuild_commit() | ||
update_on: | ||
- source: pypi | ||
pypi: compreffor | ||
- alias: python |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Maintainer: taotieren <[email protected]> | ||
|
||
pkgname=python-cu2qu | ||
_name=${pkgname#python-} | ||
pkgver=1.6.7.post2 | ||
pkgrel=1 | ||
pkgdesc='Cubic-to-quadratic bezier curve conversion' | ||
url='https://github.com/googlefonts/cu2qu' | ||
license=('Apache') | ||
arch=(any) | ||
_pydeps=(defcon | ||
fonttools | ||
fs) | ||
depends=(python | ||
"${_pydeps[@]/#/python-}") | ||
makedepends=(cython | ||
python-{build,installer,wheel} | ||
python-setuptools-scm) | ||
checkdepends=(python-coverage | ||
python-pytest-runner) | ||
source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.zip) | ||
sha256sums=('1df562d99bd6059226088f443702bf51cfdd8cc63623f23137459a78d7bf5808') | ||
|
||
build() { | ||
cd "$_name-$pkgver" | ||
python -m build -wn | ||
} | ||
|
||
check() { | ||
cd "$_name-$pkgver" | ||
PYTHONPATH="$PWD/build/lib.linux-$CARCH-cpython-${python_version}" pytest -v | ||
} | ||
|
||
package() { | ||
cd "$_name-$pkgver" | ||
python -m installer -d "$pkgdir" dist/*.whl | ||
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/${pkgname}/LICENSE" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
maintainers: | ||
- github: taotieren | ||
|
||
build_prefix: extra-x86_64 | ||
|
||
repo_depends: | ||
- python-defcon | ||
|
||
post_build_script: | | ||
git_pkgbuild_commit() | ||
update_on: | ||
- source: pypi | ||
pypi: cu2qu | ||
- alias: python |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Maintainer: taotieren <[email protected]> | ||
|
||
pkgname=python-defcon | ||
_name=${pkgname#python-} | ||
pkgver=0.10.2 | ||
pkgrel=1 | ||
pkgdesc='A set of UFO based objects for use in font editing applications.' | ||
url='https://github.com/robotools/defcon' | ||
license=('MIT') | ||
arch=(any) | ||
_pydeps=(fonttools | ||
fs # for fonttools[ufo] | ||
unicodedata2) # for fonttools[unicode] | ||
depends=(python | ||
"${_pydeps[@]/#/python-}") | ||
makedepends=(python-{build,installer} | ||
python-setuptools-scm | ||
python-wheel | ||
git) | ||
optdepends=(python-fontpens | ||
python-lxml) | ||
source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.zip) | ||
sha256sums=('aee396e6d69e45ae65c8264781392d4c29116934b2737ad76d8230b40c182a44') | ||
|
||
build() { | ||
cd "$_name-$pkgver" | ||
python -m build -wn | ||
} | ||
|
||
package() { | ||
cd "$_name-$pkgver" | ||
python -m installer -d "$pkgdir" dist/*.whl | ||
install -Dm644 License.txt "$pkgdir/usr/share/licenses/${pkgname}/LICENSE" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
maintainers: | ||
- github: taotieren | ||
|
||
build_prefix: extra-x86_64 | ||
|
||
repo_depends: | ||
- python-fontpens | ||
|
||
post_build_script: | | ||
git_pkgbuild_commit() | ||
update_on: | ||
- source: pypi | ||
pypi: defcon | ||
- alias: python |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# Maintainer: taotieren <[email protected]> | ||
|
||
pkgname=python-fontmake | ||
_name=${pkgname#python-} | ||
pkgver=3.5.1 | ||
pkgrel=1 | ||
pkgdesc='Compile fonts from sources (UFO, Glyphs) to binary (OpenType, TrueType)' | ||
url='https://github.com/googlefonts/fontmake' | ||
license=('Apache-2.0') | ||
arch=(any) | ||
_pydeps=(attrs | ||
fontmath | ||
fonttools | ||
fs # for fonttools[ufo] | ||
glyphslib | ||
lxml # for fonttools[lxml] and defcon[lxml] | ||
ttfautohint-py | ||
ufo2ft | ||
ufolib2 | ||
unicodedata2) # for fonttools[unicode] | ||
depends=(python | ||
"${_pydeps[@]/#/python-}") | ||
checkdepends=(python-compreffor | ||
python-defcon | ||
python-mutatormath | ||
python-pytest | ||
python-skia-pathops) | ||
makedepends=(python-{build,installer} | ||
python-setuptools-scm | ||
python-wheel) | ||
optdepends=(python-mutatormath | ||
python-skia-pathops) | ||
source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.zip) | ||
sha256sums=('9e3240acdabb9e1768ab44a2dfe4540c4f95252c2e52f93e7bb59eb8d6a5b8ad') | ||
|
||
build() { | ||
cd "$_name-$pkgver" | ||
python -m build -wn | ||
} | ||
|
||
check() { | ||
cd "$_name-$pkgver" | ||
PYTHONPATH="$PWD/build/lib" pytest -v | ||
} | ||
|
||
package() { | ||
cd "$_name-$pkgver" | ||
python -m installer -d "$pkgdir" dist/*.whl | ||
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/${pkgname}/LICENSE" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
maintainers: | ||
- github: taotieren | ||
|
||
build_prefix: extra-x86_64 | ||
repo_depends: | ||
- python-compreffor | ||
- python-defcon | ||
- python-fontpens | ||
- python-fontmath | ||
- python-glyphslib | ||
- python-ttfautohint-py | ||
- python-mutatormath | ||
- python-skia-pathops | ||
- python-ufo2ft | ||
|
||
post_build_script: | | ||
git_pkgbuild_commit() | ||
update_on: | ||
- source: pypi | ||
pypi: fontmake | ||
- alias: python |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Maintainer: taotieren <[email protected]> | ||
|
||
pkgname=python-fontmath | ||
_name=fontMath | ||
pkgver=0.9.3 | ||
pkgrel=1 | ||
pkgdesc='A collection of objects that implement fast font, glyph, etc. math.' | ||
url='https://github.com/robotools/fontMath' | ||
license=('MIT') | ||
arch=(any) | ||
depends=(python-fonttools) | ||
checkdepends=(python-pytest) | ||
makedepends=(python-{build,installer} | ||
python-setuptools-scm | ||
python-wheel) | ||
source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.zip) | ||
sha256sums=('6a5387cb7feb105958db2f5ceedc878513cc35bf3715e262090f0557be0c1b1c') | ||
|
||
build() { | ||
cd "$_name-$pkgver" | ||
python -m build -wn | ||
} | ||
|
||
check() { | ||
cd "$_name-$pkgver" | ||
pytest -v | ||
} | ||
|
||
package() { | ||
cd "$_name-$pkgver" | ||
python -m installer -d "$pkgdir" dist/*.whl | ||
install -Dm644 License.txt "$pkgdir/usr/share/licenses/${pkgname}/LICENSE" | ||
} | ||
|
Oops, something went wrong.