-
Notifications
You must be signed in to change notification settings - Fork 297
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,175 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,45 @@ | ||
# Maintainer: taotieren <[email protected]> | ||
|
||
pkgname=python-booleanoperations-git | ||
pkgver=0.9.0.r3.g25f7091 | ||
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 | ||
git) | ||
provides=("${pkgname%-git}") | ||
conflicts=("${pkgname%-git}") | ||
source=("$pkgname::git+$url.git") | ||
sha256sums=('SKIP') | ||
|
||
pkgver() { | ||
cd "$pkgname" | ||
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | ||
} | ||
|
||
build() { | ||
cd "$pkgname" | ||
python setup.py build_ext --inplace | ||
python setup.py build | ||
} | ||
|
||
check() { | ||
cd "$pkgname" | ||
PYTHONPATH="$PWD/build/lib" pytest -v | ||
} | ||
|
||
package() { | ||
cd "$pkgname" | ||
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,18 @@ | ||
maintainers: | ||
- github: taotieren | ||
|
||
build_prefix: extra-x86_64 | ||
repo_depends: | ||
- python-defcon | ||
- python-fontpens | ||
- python-pyclipper | ||
|
||
pre_build: vcs_update | ||
|
||
post_build_script: | | ||
git_pkgbuild_commit() | ||
update_aur_repo() | ||
update_on: | ||
- source: github | ||
github: typemytype/booleanOperations |
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,48 @@ | ||
# Maintainer: taotieren <[email protected]> | ||
|
||
pkgname=python-cffsubr-git | ||
pkgver=0.2.9.post1.r0.g5999ae5 | ||
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=(git | ||
python-wheel | ||
python-setuptools-git-ls-files | ||
python-setuptools-scm) | ||
checkdepends=(python-pytest) | ||
provides=("${pkgname%-git}") | ||
conflicts=("${pkgname%-git}") | ||
source=("$pkgname::git+$url.git") | ||
sha256sums=('SKIP') | ||
|
||
pkgver() { | ||
cd "$pkgname" | ||
git describe --long --tags | sed 's/^v//g;s/\([^-]*-g\)/r\1/;s/-/./g' | ||
} | ||
|
||
prepare() { | ||
cd "$pkgname" | ||
git submodule update --init --recursive | ||
} | ||
|
||
build() { | ||
cd "$pkgname" | ||
python setup.py build_ext --inplace | ||
python setup.py build | ||
} | ||
|
||
check() { | ||
cd "$pkgname" | ||
PYTHONPATH="$PWD/build/lib.linux-$CARCH-cpython-${python_version}" pytest -v | ||
} | ||
|
||
package() { | ||
cd "$pkgname" | ||
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-setuptools-git-ls-files | ||
|
||
pre_build: vcs_update | ||
|
||
post_build_script: | | ||
git_pkgbuild_commit() | ||
update_aur_repo() | ||
update_on: | ||
- source: github | ||
github: adobe-type-tools/cffsubr |
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,44 @@ | ||
# Maintainer: taotieren <[email protected]> | ||
|
||
pkgname=python-compreffor-git | ||
pkgver=0.5.3.r0.g3678d3e | ||
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 | ||
git) | ||
provides=("${pkgname%-git}") | ||
conflicts=("${pkgname%-git}") | ||
source=("$pkgname::git+$url.git") | ||
sha256sums=('SKIP') | ||
|
||
pkgver() { | ||
cd "$pkgname" | ||
git describe --long --tags | sed 's/^v//g;s/\([^-]*-g\)/r\1/;s/-/./g' | ||
} | ||
|
||
build() { | ||
cd "$pkgname" | ||
python setup.py build_ext --inplace | ||
python setup.py build | ||
} | ||
|
||
check() { | ||
cd "$pkgname" | ||
PYTHONPATH="$PWD/build/lib.linux-$CARCH-cpython-${python_version}" pytest -v | ||
} | ||
|
||
package() { | ||
cd "$pkgname" | ||
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-setuptools-git-ls-files | ||
|
||
pre_build: vcs_update | ||
|
||
post_build_script: | | ||
git_pkgbuild_commit() | ||
update_aur_repo() | ||
update_on: | ||
- source: github | ||
github: googlefonts/compreffor |
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,46 @@ | ||
# Maintainer: taotieren <[email protected]> | ||
|
||
pkgname=python-cu2qu-git | ||
pkgver=1.6.7.post2.r0.g4cbc9b6 | ||
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 | ||
git | ||
python-{build,installer,wheel} | ||
python-setuptools-scm) | ||
checkdepends=(python-coverage | ||
python-pytest-runner) | ||
provides=("${pkgname%-git}") | ||
conflicts=("${pkgname%-git}") | ||
source=("$pkgname::git+$url.git") | ||
sha256sums=('SKIP') | ||
|
||
pkgver() { | ||
cd "$pkgname" | ||
git describe --long --tags | sed 's/^v//g;s/\([^-]*-g\)/r\1/;s/-/./g' | ||
} | ||
|
||
build() { | ||
cd "$pkgname" | ||
python -m build -wn | ||
} | ||
|
||
check() { | ||
cd "$pkgname" | ||
PYTHONPATH="$PWD/build/lib.linux-$CARCH-cpython-${python_version}" pytest -v | ||
} | ||
|
||
package() { | ||
cd "$pkgname" | ||
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,16 @@ | ||
maintainers: | ||
- github: taotieren | ||
|
||
build_prefix: extra-x86_64 | ||
repo_depends: | ||
- python-defcon | ||
|
||
pre_build: vcs_update | ||
|
||
post_build_script: | | ||
git_pkgbuild_commit() | ||
update_aur_repo() | ||
update_on: | ||
- source: github | ||
github: googlefonts/cu2qu |
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,47 @@ | ||
# Maintainer: taotieren <[email protected]> | ||
|
||
pkgname=python-defcon-git | ||
pkgver=0.10.2.r0.g2498713 | ||
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) | ||
checkdepends=(python-pytest) | ||
optdepends=(python-fontpens | ||
python-lxml) | ||
provides=("${pkgname%-git}") | ||
conflicts=("${pkgname%-git}") | ||
source=("$pkgname::git+$url.git") | ||
sha256sums=('SKIP') | ||
|
||
pkgver() { | ||
cd "$pkgname" | ||
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | ||
} | ||
|
||
build() { | ||
cd "$pkgname" | ||
python -m build -wn | ||
} | ||
|
||
check() { | ||
cd "$pkgname" | ||
PYTHONPATH="$PWD/build/lib/defcon" pytest test -v | ||
} | ||
|
||
package() { | ||
cd "$pkgname" | ||
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-fontpens | ||
|
||
pre_build: vcs_update | ||
|
||
post_build_script: | | ||
git_pkgbuild_commit() | ||
update_on: | ||
- source: github | ||
github: robotools/defcon |
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,60 @@ | ||
# Maintainer: Caleb Maclennan <[email protected]> | ||
# Maintainer: taotieren <[email protected]> | ||
|
||
pkgname=python-fontmake-git | ||
pkgver=3.5.1.r0.gb55aabd | ||
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=(git | ||
python-{build,installer} | ||
python-setuptools-scm | ||
python-wheel) | ||
optdepends=(python-mutatormath | ||
python-skia-pathops) | ||
provides=("${pkgname%-git}") | ||
conflicts=("${pkgname%-git}") | ||
source=("$pkgname::git+$url.git") | ||
sha256sums=('SKIP') | ||
|
||
pkgver() { | ||
cd "$pkgname" | ||
git describe --long --tags --abbrev=7 HEAD | | ||
sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' | ||
} | ||
|
||
build() { | ||
cd "$pkgname" | ||
python -m build -wn | ||
} | ||
|
||
check() { | ||
cd "$pkgname" | ||
PYTHONPATH="$PWD/build/lib" pytest -v | ||
} | ||
|
||
package() { | ||
cd "$pkgname" | ||
python -m installer -d "$pkgdir" dist/*.whl | ||
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/${pkgname}/LICENSE" | ||
} | ||
|
Oops, something went wrong.