diff --git a/archlinuxcn/python-booleanoperations-git/PKGBUILD b/archlinuxcn/python-booleanoperations-git/PKGBUILD new file mode 100644 index 000000000000..90a5f83de6fc --- /dev/null +++ b/archlinuxcn/python-booleanoperations-git/PKGBUILD @@ -0,0 +1,45 @@ +# Maintainer: taotieren + +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" +} + diff --git a/archlinuxcn/python-booleanoperations-git/lilac.yaml b/archlinuxcn/python-booleanoperations-git/lilac.yaml new file mode 100644 index 000000000000..81bab3d96ef9 --- /dev/null +++ b/archlinuxcn/python-booleanoperations-git/lilac.yaml @@ -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 diff --git a/archlinuxcn/python-cffsubr-git/PKGBUILD b/archlinuxcn/python-cffsubr-git/PKGBUILD new file mode 100644 index 000000000000..0f1c6e41eb12 --- /dev/null +++ b/archlinuxcn/python-cffsubr-git/PKGBUILD @@ -0,0 +1,48 @@ +# Maintainer: taotieren + +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" +} + diff --git a/archlinuxcn/python-cffsubr-git/lilac.yaml b/archlinuxcn/python-cffsubr-git/lilac.yaml new file mode 100644 index 000000000000..7330d2b178d4 --- /dev/null +++ b/archlinuxcn/python-cffsubr-git/lilac.yaml @@ -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 diff --git a/archlinuxcn/python-compreffor-git/PKGBUILD b/archlinuxcn/python-compreffor-git/PKGBUILD new file mode 100644 index 000000000000..aa555007b6ce --- /dev/null +++ b/archlinuxcn/python-compreffor-git/PKGBUILD @@ -0,0 +1,44 @@ +# Maintainer: taotieren + +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" +} + diff --git a/archlinuxcn/python-compreffor-git/lilac.yaml b/archlinuxcn/python-compreffor-git/lilac.yaml new file mode 100644 index 000000000000..d70d8ddf29db --- /dev/null +++ b/archlinuxcn/python-compreffor-git/lilac.yaml @@ -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 diff --git a/archlinuxcn/python-cu2qu-git/PKGBUILD b/archlinuxcn/python-cu2qu-git/PKGBUILD new file mode 100644 index 000000000000..ba77dbe89f7e --- /dev/null +++ b/archlinuxcn/python-cu2qu-git/PKGBUILD @@ -0,0 +1,46 @@ +# Maintainer: taotieren + +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" +} + diff --git a/archlinuxcn/python-cu2qu-git/lilac.yaml b/archlinuxcn/python-cu2qu-git/lilac.yaml new file mode 100644 index 000000000000..e8bfcd1d5cb4 --- /dev/null +++ b/archlinuxcn/python-cu2qu-git/lilac.yaml @@ -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 diff --git a/archlinuxcn/python-defcon-git/PKGBUILD b/archlinuxcn/python-defcon-git/PKGBUILD new file mode 100644 index 000000000000..48eef14482c2 --- /dev/null +++ b/archlinuxcn/python-defcon-git/PKGBUILD @@ -0,0 +1,47 @@ +# Maintainer: taotieren + +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" +} + diff --git a/archlinuxcn/python-defcon-git/lilac.yaml b/archlinuxcn/python-defcon-git/lilac.yaml new file mode 100644 index 000000000000..b882f0e17617 --- /dev/null +++ b/archlinuxcn/python-defcon-git/lilac.yaml @@ -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 diff --git a/archlinuxcn/python-fontmake-git/PKGBUILD b/archlinuxcn/python-fontmake-git/PKGBUILD new file mode 100644 index 000000000000..eeb359885602 --- /dev/null +++ b/archlinuxcn/python-fontmake-git/PKGBUILD @@ -0,0 +1,60 @@ +# Maintainer: Caleb Maclennan +# Maintainer: taotieren + +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" +} + diff --git a/archlinuxcn/python-fontmake-git/lilac.yaml b/archlinuxcn/python-fontmake-git/lilac.yaml new file mode 100644 index 000000000000..73225fd708d7 --- /dev/null +++ b/archlinuxcn/python-fontmake-git/lilac.yaml @@ -0,0 +1,23 @@ +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 + +pre_build: vcs_update + +post_build_script: | + git_pkgbuild_commit() + +update_on: + - source: github + github: googlefonts/fontmake diff --git a/archlinuxcn/python-fontmath-git/PKGBUILD b/archlinuxcn/python-fontmath-git/PKGBUILD new file mode 100644 index 000000000000..dfa9326aaaed --- /dev/null +++ b/archlinuxcn/python-fontmath-git/PKGBUILD @@ -0,0 +1,41 @@ +# Maintainer: taotieren + +pkgname=python-fontmath-git +pkgver=0.9.3.r2.g777dd88 +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 + 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 -m build -wn +} + +check() { + cd "$pkgname" + pytest -v +} + +package() { + cd "$pkgname" + python -m installer -d "$pkgdir" dist/*.whl + install -Dm644 License.txt "$pkgdir/usr/share/licenses/${pkgname}/LICENSE" +} + diff --git a/archlinuxcn/python-fontmath-git/lilac.yaml b/archlinuxcn/python-fontmath-git/lilac.yaml new file mode 100644 index 000000000000..70a86a3f9d36 --- /dev/null +++ b/archlinuxcn/python-fontmath-git/lilac.yaml @@ -0,0 +1,14 @@ +maintainers: + - github: taotieren + +build_prefix: extra-x86_64 + +pre_build: vcs_update + +post_build_script: | + git_pkgbuild_commit() + update_aur_repo() + +update_on: + - source: github + github: robotools/fontMath diff --git a/archlinuxcn/python-fontparts-git/PKGBUILD b/archlinuxcn/python-fontparts-git/PKGBUILD new file mode 100644 index 000000000000..7e30132b7fe4 --- /dev/null +++ b/archlinuxcn/python-fontparts-git/PKGBUILD @@ -0,0 +1,46 @@ +# Maintainer: taotieren + +pkgname=python-fontparts-git +pkgver=0.11.0.r1.gf5250dc +pkgrel=1 +pkgdesc='The replacement for RoboFab' +url='https://github.com/robotools/fontParts' +license=('MIT') +arch=(any) +_pydeps=(booleanoperations + defcon + fontmath + fontpens # for defcon[pens] + fonttools + fs # for fonttools[ufo] + lxml # for fonttools[lxml] + pyclipper + unicodedata2) # for fonttools[unicode] +depends=(python + "${_pydeps[@]/#/python-}") +makedepends=(git + python-{build,installer} + python-setuptools-scm + python-wheel) +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 +} + +package() { + cd "$pkgname" + python setup.py install --root="$pkgdir" --optimize=1 --skip-build + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/${pkgname}/LICENSE" +} + diff --git a/archlinuxcn/python-fontparts-git/lilac.yaml b/archlinuxcn/python-fontparts-git/lilac.yaml new file mode 100644 index 000000000000..2ebe9d8c0eab --- /dev/null +++ b/archlinuxcn/python-fontparts-git/lilac.yaml @@ -0,0 +1,20 @@ +maintainers: + - github: taotieren + +build_prefix: extra-x86_64 +repo_depends: + - python-booleanoperations + - python-defcon + - python-fontpens + - python-fontmath + - python-pyclipper + +pre_build: vcs_update + +post_build_script: | + git_pkgbuild_commit() + update_aur_repo() + +update_on: + - source: github + github: robotools/fontParts diff --git a/archlinuxcn/python-fontpens-git/PKGBUILD b/archlinuxcn/python-fontpens-git/PKGBUILD new file mode 100644 index 000000000000..c2dc7d9cafbb --- /dev/null +++ b/archlinuxcn/python-fontpens-git/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: taotieren + +pkgname=python-fontpens-git +pkgver=0.2.4.r12.g776df99 +pkgrel=1 +pkgdesc='A collection of classes implementing the pen protocol for manipulating glyphs.' +url='https://github.com/robotools/fontpens' +license=('BSD') +arch=(any) +depends=(python + python-fonttools) +checkdepends=(python-fontparts + 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/^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" pytest -v +} + +package() { + cd "$pkgname" + python setup.py install --root="$pkgdir" --optimize=1 --skip-build + install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/${pkgname}/LICENSE" +} + diff --git a/archlinuxcn/python-fontpens-git/lilac.yaml b/archlinuxcn/python-fontpens-git/lilac.yaml new file mode 100644 index 000000000000..22f8319838b0 --- /dev/null +++ b/archlinuxcn/python-fontpens-git/lilac.yaml @@ -0,0 +1,16 @@ +maintainers: + - github: taotieren + +build_prefix: extra-x86_64 +repo_depends: + - python-fontparts + +pre_build: vcs_update + +post_build_script: | + git_pkgbuild_commit() + update_aur_repo() + +update_on: + - source: github + github: robotools/fontpens diff --git a/archlinuxcn/python-glyphslib-git/PKGBUILD b/archlinuxcn/python-glyphslib-git/PKGBUILD new file mode 100644 index 000000000000..d98ca55f4946 --- /dev/null +++ b/archlinuxcn/python-glyphslib-git/PKGBUILD @@ -0,0 +1,57 @@ +# Maintainer: taotieren + +pkgname=python-glyphslib-git +pkgver=6.1.0.r60.gf0ad2211 +pkgrel=1 +pkgdesc='A bridge from Glyphs source files (.glyphs) to UFOs' +url='https://github.com/googlefonts/glyphsLib' +license=('Apache-2.0') +arch=(any) +_pydeps=(fonttools + fs # for fonttools[ufo] + openstep-plist + ufolib2 + unicodedata2) # for fonttools[unicode] +depends=(python + "${_pydeps[@]/#/python-}") +makedepends=(python-{build,installer,wheel} + python-defcon + python-setuptools-scm + git) +_pycheckdeps=(lxml # for fonttools[lxml] + pytest + ufo2ft + ufonormalizer + xmldiff) +checkdepends=("${_pycheckdeps[@]/#/python-}") +optdepends=(python-defcon + python-ufonormalizer) +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" pytest tests \ + --deselect tests/builder/interpolation_test.py \ + --deselect tests/builder/designspace_gen_test.py \ + --deselect tests/builder/builder_test.py +} + +package() { + cd "$pkgname" + python -m installer -d "$pkgdir" dist/*.whl + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/${pkgname}/LICENSE" +} + diff --git a/archlinuxcn/python-glyphslib-git/lilac.yaml b/archlinuxcn/python-glyphslib-git/lilac.yaml new file mode 100644 index 000000000000..b623ca51978f --- /dev/null +++ b/archlinuxcn/python-glyphslib-git/lilac.yaml @@ -0,0 +1,20 @@ +maintainers: + - github: taotieren + +build_prefix: extra-x86_64 +repo_depends: + - python-defcon + - python-openstep-plist + - python-ufo2ft + - python-ufonormalizer + - python-xmldiff + +pre_build: vcs_update + +post_build_script: | + git_pkgbuild_commit() + update_aur_repo() + +update_on: + - source: github + github: googlefonts/glyphslib diff --git a/archlinuxcn/python-mutatormath-git/PKGBUILD b/archlinuxcn/python-mutatormath-git/PKGBUILD new file mode 100644 index 000000000000..ac65f0ca37ca --- /dev/null +++ b/archlinuxcn/python-mutatormath-git/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: taotieren + +pkgname=python-mutatormath-git +pkgver=3.0.1.r3.gb0a87ec +pkgrel=1 +pkgdesc='Python library for piecewise linear interpolation in multiple dimensions with multiple, arbitrarily placed, masters.' +url='https://github.com/LettError/MutatorMath' +license=('BSD') +arch=(any) +depends=(python + python-defcon + python-fontmath + python-fonttools) +makedepends=(git + python-{build,installer} + python-setuptools + python-wheel) +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 +} + +package() { + cd "$pkgname" + python -m installer -d "$pkgdir" dist/*.whl + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/${pkgname%-git}/LICENSE" +} diff --git a/archlinuxcn/python-mutatormath-git/lilac.yaml b/archlinuxcn/python-mutatormath-git/lilac.yaml new file mode 100644 index 000000000000..de37cff4e227 --- /dev/null +++ b/archlinuxcn/python-mutatormath-git/lilac.yaml @@ -0,0 +1,17 @@ +maintainers: + - github: taotieren + +build_prefix: extra-x86_64 +repo_depends: + - python-defcon + - python-fontmath + +pre_build: vcs_update + +post_build_script: | + git_pkgbuild_commit() + update_aur_repo() + +update_on: + - source: github + github: LettError/mutatormath diff --git a/archlinuxcn/python-openstep-plist-git/PKGBUILD b/archlinuxcn/python-openstep-plist-git/PKGBUILD new file mode 100644 index 000000000000..0bf3463c23d1 --- /dev/null +++ b/archlinuxcn/python-openstep-plist-git/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: taotieren + +pkgname=python-openstep-plist-git +pkgver=0.3.0.post1.r0.gfe887b0 +pkgrel=1 +pkgdesc='OpenStep plist parser and writer written in Cython' +url='https://github.com/fonttools/openstep-plist' +license=('MIT') +arch=(any) +depends=(python) +checkdepends=(python-pytest) +makedepends=(python-{build,installer} + python-setuptools-scm + python-wheel + cython + 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 -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" +} + diff --git a/archlinuxcn/python-openstep-plist-git/lilac.yaml b/archlinuxcn/python-openstep-plist-git/lilac.yaml new file mode 100644 index 000000000000..5d7a7834b7c2 --- /dev/null +++ b/archlinuxcn/python-openstep-plist-git/lilac.yaml @@ -0,0 +1,14 @@ +maintainers: + - github: taotieren + +build_prefix: extra-x86_64 + +pre_build: vcs_update + +post_build_script: | + git_pkgbuild_commit() + update_aur_repo() + +update_on: + - source: github + github: fonttools/openstep-plist diff --git a/archlinuxcn/python-pyclipper-git/PKGBUILD b/archlinuxcn/python-pyclipper-git/PKGBUILD new file mode 100644 index 000000000000..94e33a8f219e --- /dev/null +++ b/archlinuxcn/python-pyclipper-git/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: taotieren + +pkgname=python-pyclipper-git +pkgver=1.3.0.post4.r0.ge349e2b +pkgrel=1 +pkgdesc='Cython wrapper for the C++ translation of the Angus Johnsons Clipper library' +url='https://github.com/fonttools/pyclipper' +license=('MIT') +arch=(any) +depends=(python) +makedepends=(cython + python-{build,installer,wheel,pip} + python-setuptools-scm + git) +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' +} + +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" +} + diff --git a/archlinuxcn/python-pyclipper-git/lilac.yaml b/archlinuxcn/python-pyclipper-git/lilac.yaml new file mode 100644 index 000000000000..e892b97e9096 --- /dev/null +++ b/archlinuxcn/python-pyclipper-git/lilac.yaml @@ -0,0 +1,14 @@ +maintainers: + - github: taotieren + +build_prefix: extra-x86_64 + +pre_build: vcs_update + +post_build_script: | + git_pkgbuild_commit() + update_aur_repo() + +update_on: + - source: github + github: fonttools/pyclipper diff --git a/archlinuxcn/python-setuptools-git-ls-files-git/PKGBUILD b/archlinuxcn/python-setuptools-git-ls-files-git/PKGBUILD new file mode 100644 index 000000000000..31d286fc869a --- /dev/null +++ b/archlinuxcn/python-setuptools-git-ls-files-git/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: taotieren + +pkgname=python-setuptools-git-ls-files-git +pkgver=0.1.1.r1.g2327ed6 +pkgrel=1 +pkgdesc='setuptools plugin to list all files tracked by git, recursing into submodules' +url='https://github.com/anthrotype/setuptools_git_ls_files' +license=('MIT') +arch=(any) +depends=(python) +makedepends=(python-{build,installer} + 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 -m build -wn +} + +package() { + cd "$pkgname" + python -m installer -d "$pkgdir" dist/*.whl + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/${pkgname}/LICENSE" +} + diff --git a/archlinuxcn/python-setuptools-git-ls-files-git/lilac.yaml b/archlinuxcn/python-setuptools-git-ls-files-git/lilac.yaml new file mode 100644 index 000000000000..486a96b5a639 --- /dev/null +++ b/archlinuxcn/python-setuptools-git-ls-files-git/lilac.yaml @@ -0,0 +1,14 @@ +maintainers: + - github: taotieren + +build_prefix: extra-x86_64 + +pre_build: vcs_update + +post_build_script: | + git_pkgbuild_commit() + update_aur_repo() + +update_on: + - source: github + github: anthrotype/setuptools_git_ls_files diff --git a/archlinuxcn/python-skia-pathops-git/PKGBUILD b/archlinuxcn/python-skia-pathops-git/PKGBUILD new file mode 100644 index 000000000000..6a693bc4007b --- /dev/null +++ b/archlinuxcn/python-skia-pathops-git/PKGBUILD @@ -0,0 +1,52 @@ +# Maintainer: taotieren + +pkgname=python-skia-pathops-git +pkgver=0.7.4.r4.g2e7c322 +pkgrel=1 +pkgdesc='Python bindings for the Skia librarys Path Ops' +url='https://github.com/fonttools/skia-pathops' +license=('BSD') +arch=(any) +depends=(cython + python) +checkdepends=(python-pytest + python-coverage + python-pytest-xdist + python-pytest-randomly) +makedepends=(python-{build,installer,pip} + python-setuptools-scm + python-setuptools-git-ls-files + 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' +} + +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" +} + diff --git a/archlinuxcn/python-skia-pathops-git/lilac.yaml b/archlinuxcn/python-skia-pathops-git/lilac.yaml new file mode 100644 index 000000000000..394909638064 --- /dev/null +++ b/archlinuxcn/python-skia-pathops-git/lilac.yaml @@ -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: fonttools/skia-pathops diff --git a/archlinuxcn/python-ttfautohint-py-git/PKGBUILD b/archlinuxcn/python-ttfautohint-py-git/PKGBUILD new file mode 100644 index 000000000000..ecb6fb6130ff --- /dev/null +++ b/archlinuxcn/python-ttfautohint-py-git/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: taotieren + +pkgname=python-ttfautohint-py-git +pkgver=0.5.1.r0.gfe1dd22 +pkgrel=1 +pkgdesc='Python wrapper for ttfautohint, a free auto-hinter for TrueType fonts' +url='https://github.com/fonttools/ttfautohint-py' +license=('MIT') +arch=(any) +depends=(python-fonttools + ttfautohint) +checkdepends=(python-pytest) +makedepends=(python-{build,installer} + 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 -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" +} + diff --git a/archlinuxcn/python-ttfautohint-py-git/lilac.yaml b/archlinuxcn/python-ttfautohint-py-git/lilac.yaml new file mode 100644 index 000000000000..89dc3862a815 --- /dev/null +++ b/archlinuxcn/python-ttfautohint-py-git/lilac.yaml @@ -0,0 +1,16 @@ +maintainers: + - github: taotieren + +build_prefix: extra-x86_64 +repo_depends: + - ttfautohint + +pre_build: vcs_update + +post_build_script: | + git_pkgbuild_commit() + update_aur_repo() + +update_on: + - source: github + github: fonttools/ttfautohint-py diff --git a/archlinuxcn/python-ufo2ft-git/PKGBUILD b/archlinuxcn/python-ufo2ft-git/PKGBUILD new file mode 100644 index 000000000000..aade33dbb47c --- /dev/null +++ b/archlinuxcn/python-ufo2ft-git/PKGBUILD @@ -0,0 +1,55 @@ +# Maintainer: Caleb Maclennan +# Maintainer: taotieren + +pkgname=python-ufo2ft-git +pkgver=2.31.0b2.r4.gc84c77f5 +pkgrel=1 +pkgdesc='A bridge from UFOs to FontTools objects' +url="https://github.com/googlefonts/ufo2ft" +license=(MIT) +arch=(any) +_pydeps=(booleanoperations + cffsubr + cu2qu + lxml # for fonttools[lxml] + defcon + fonttools + fs) # for fonttools[ufo] +depends=(python + "${_pydeps[@]/#/python-}") +makedepends=(python-{build,installer} + python-setuptools-scm + python-wheel + git) +checkdepends=(python-compreffor + python-pytest + python-ufolib2 + python-skia-pathops) +optdepends=(python-compreffor + python-skia-pathops) +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" pytest tests +} + +package() { + cd "$pkgname" + python -m installer -d "$pkgdir" dist/*.whl + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/${pkgname}/LICENSE" +} + diff --git a/archlinuxcn/python-ufo2ft-git/lilac.yaml b/archlinuxcn/python-ufo2ft-git/lilac.yaml new file mode 100644 index 000000000000..b347f8f5b9a3 --- /dev/null +++ b/archlinuxcn/python-ufo2ft-git/lilac.yaml @@ -0,0 +1,20 @@ +maintainers: + - github: taotieren + +build_prefix: extra-x86_64 +repo_depends: + - python-booleanoperations + - python-compreffor + - python-cffsubr + - python-cu2qu + - python-defcon + - python-skia-pathops + +pre_build: vcs_update + +post_build_script: | + git_pkgbuild_commit() + +update_on: + - source: github + github: googlefonts/ufo2ft diff --git a/archlinuxcn/python-ufonormalizer-git/PKGBUILD b/archlinuxcn/python-ufonormalizer-git/PKGBUILD new file mode 100644 index 000000000000..9ba5b2de70f4 --- /dev/null +++ b/archlinuxcn/python-ufonormalizer-git/PKGBUILD @@ -0,0 +1,41 @@ +# Maintainer: taotieren + +pkgname=python-ufonormalizer-git +pkgver=0.6.1.r0.g2d4c06c +pkgrel=1 +pkgdesc='A tool that will normalize the XML and other data inside of a UFO.' +url='https://github.com/unified-font-object/ufoNormalizer' +license=('BSD') +arch=(any) +depends=(python) +checkdepends=(python-pytest) +makedepends=(python-{build,installer} + 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 -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.txt "$pkgdir/usr/share/licenses/${pkgname}/LICENSE" +} + diff --git a/archlinuxcn/python-ufonormalizer-git/lilac.yaml b/archlinuxcn/python-ufonormalizer-git/lilac.yaml new file mode 100644 index 000000000000..6cc0d5f5bda4 --- /dev/null +++ b/archlinuxcn/python-ufonormalizer-git/lilac.yaml @@ -0,0 +1,13 @@ +maintainers: + - github: taotieren + +build_prefix: extra-x86_64 + +pre_build: vcs_update + +post_build_script: | + git_pkgbuild_commit() + +update_on: + - source: github + github: unified-font-object/ufoNormalizer diff --git a/archlinuxcn/python-xmldiff-git/PKGBUILD b/archlinuxcn/python-xmldiff-git/PKGBUILD new file mode 100644 index 000000000000..c5ff420bd851 --- /dev/null +++ b/archlinuxcn/python-xmldiff-git/PKGBUILD @@ -0,0 +1,41 @@ +# Maintainer: taotieren + +pkgname=python-xmldiff-git +pkgver=2.5.r2.g27dc2be +pkgrel=1 +pkgdesc='A library and command line utility for diffing xml' +url='https://github.com/Shoobx/xmldiff' +license=('MIT') +arch=(any) +depends=(python + python-lxml + python-six) +makedepends=(git + python-setuptools) +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' +} + +build() { + cd "$pkgname" + 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.txt "$pkgdir/usr/share/licenses/${pkgname}/LICENSE" +} + diff --git a/archlinuxcn/python-xmldiff-git/lilac.yaml b/archlinuxcn/python-xmldiff-git/lilac.yaml new file mode 100644 index 000000000000..c8c8ba3c09a7 --- /dev/null +++ b/archlinuxcn/python-xmldiff-git/lilac.yaml @@ -0,0 +1,14 @@ +maintainers: + - github: taotieren + +build_prefix: extra-x86_64 + +pre_build: vcs_update + +post_build_script: | + git_pkgbuild_commit() + update_aur_repo() + +update_on: + - source: github + github: Shoobx/xmldiff