diff --git a/archlinuxcn/python-booleanoperations/PKGBUILD b/archlinuxcn/python-booleanoperations/PKGBUILD new file mode 100644 index 000000000000..7caed1743cfe --- /dev/null +++ b/archlinuxcn/python-booleanoperations/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: taotieren + +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" +} + diff --git a/archlinuxcn/python-booleanoperations/lilac.yaml b/archlinuxcn/python-booleanoperations/lilac.yaml new file mode 100644 index 000000000000..a42b7e517c1b --- /dev/null +++ b/archlinuxcn/python-booleanoperations/lilac.yaml @@ -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 diff --git a/archlinuxcn/python-cffsubr/PKGBUILD b/archlinuxcn/python-cffsubr/PKGBUILD new file mode 100644 index 000000000000..1521ab5f2063 --- /dev/null +++ b/archlinuxcn/python-cffsubr/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: taotieren + +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" +} + diff --git a/archlinuxcn/python-cffsubr/lilac.yaml b/archlinuxcn/python-cffsubr/lilac.yaml new file mode 100644 index 000000000000..285ce291c326 --- /dev/null +++ b/archlinuxcn/python-cffsubr/lilac.yaml @@ -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 diff --git a/archlinuxcn/python-compreffor/PKGBUILD b/archlinuxcn/python-compreffor/PKGBUILD new file mode 100644 index 000000000000..2e563cbd81cf --- /dev/null +++ b/archlinuxcn/python-compreffor/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: taotieren + +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" +} + diff --git a/archlinuxcn/python-compreffor/lilac.yaml b/archlinuxcn/python-compreffor/lilac.yaml new file mode 100644 index 000000000000..6b19561ae40c --- /dev/null +++ b/archlinuxcn/python-compreffor/lilac.yaml @@ -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 diff --git a/archlinuxcn/python-cu2qu/PKGBUILD b/archlinuxcn/python-cu2qu/PKGBUILD new file mode 100644 index 000000000000..ae88c32cd8f2 --- /dev/null +++ b/archlinuxcn/python-cu2qu/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: taotieren + +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" +} + diff --git a/archlinuxcn/python-cu2qu/lilac.yaml b/archlinuxcn/python-cu2qu/lilac.yaml new file mode 100644 index 000000000000..2e26978302d0 --- /dev/null +++ b/archlinuxcn/python-cu2qu/lilac.yaml @@ -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 diff --git a/archlinuxcn/python-defcon/PKGBUILD b/archlinuxcn/python-defcon/PKGBUILD new file mode 100644 index 000000000000..21cde0e4d304 --- /dev/null +++ b/archlinuxcn/python-defcon/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: taotieren + +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" +} + diff --git a/archlinuxcn/python-defcon/lilac.yaml b/archlinuxcn/python-defcon/lilac.yaml new file mode 100644 index 000000000000..cb091f908dee --- /dev/null +++ b/archlinuxcn/python-defcon/lilac.yaml @@ -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 diff --git a/archlinuxcn/python-fontmake/PKGBUILD b/archlinuxcn/python-fontmake/PKGBUILD new file mode 100644 index 000000000000..53506e3f4811 --- /dev/null +++ b/archlinuxcn/python-fontmake/PKGBUILD @@ -0,0 +1,51 @@ +# Maintainer: taotieren + +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" +} + diff --git a/archlinuxcn/python-fontmake/lilac.yaml b/archlinuxcn/python-fontmake/lilac.yaml new file mode 100644 index 000000000000..3fcab5a14866 --- /dev/null +++ b/archlinuxcn/python-fontmake/lilac.yaml @@ -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 diff --git a/archlinuxcn/python-fontmath/PKGBUILD b/archlinuxcn/python-fontmath/PKGBUILD new file mode 100644 index 000000000000..87b661ead188 --- /dev/null +++ b/archlinuxcn/python-fontmath/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: taotieren + +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" +} + diff --git a/archlinuxcn/python-fontmath/lilac.yaml b/archlinuxcn/python-fontmath/lilac.yaml new file mode 100644 index 000000000000..e781a43afbf4 --- /dev/null +++ b/archlinuxcn/python-fontmath/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_on: + - source: pypi + pypi: fontMath + - alias: python diff --git a/archlinuxcn/python-fontparts/PKGBUILD b/archlinuxcn/python-fontparts/PKGBUILD new file mode 100644 index 000000000000..b6d8df551d35 --- /dev/null +++ b/archlinuxcn/python-fontparts/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: taotieren + +pkgname=python-fontparts +_name=fontParts +pkgver=0.11.0 +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=(python-{build,installer} + python-setuptools-scm + python-wheel) +source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.zip) +sha256sums=('1dedc10085b1c0320cf348b19988f20079700caf5b05efea4bc3f8f935449048') + +build() { + cd "$_name-$pkgver" + python setup.py build_ext --inplace + python setup.py build +} + +package() { + cd "$_name-$pkgver" + 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/lilac.yaml b/archlinuxcn/python-fontparts/lilac.yaml new file mode 100644 index 000000000000..9b49a444e900 --- /dev/null +++ b/archlinuxcn/python-fontparts/lilac.yaml @@ -0,0 +1,19 @@ +maintainers: + - github: taotieren + +build_prefix: extra-x86_64 + +repo_depends: + - python-booleanoperations + - python-defcon + - python-fontpens + - python-fontmath + - python-pyclipper + +post_build_script: | + git_pkgbuild_commit() + +update_on: + - source: pypi + pypi: fontParts + - alias: python diff --git a/archlinuxcn/python-fontpens/PKGBUILD b/archlinuxcn/python-fontpens/PKGBUILD new file mode 100644 index 000000000000..643425a091a8 --- /dev/null +++ b/archlinuxcn/python-fontpens/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: taotieren + +pkgname=python-fontpens +_name=fontPens +pkgver=0.2.4 +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) +source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.zip) +sha256sums=('a6d9a14573b3450f3313d69523f9006028c21fc7aef5d35333b87aab7f2b41fd') + +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.txt "$pkgdir/usr/share/licenses/${pkgname}/LICENSE" +} + diff --git a/archlinuxcn/python-fontpens/lilac.yaml b/archlinuxcn/python-fontpens/lilac.yaml new file mode 100644 index 000000000000..1b6c0076a9bc --- /dev/null +++ b/archlinuxcn/python-fontpens/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_on: + - source: pypi + pypi: fontPens + - alias: python diff --git a/archlinuxcn/python-glyphslib/PKGBUILD b/archlinuxcn/python-glyphslib/PKGBUILD new file mode 100644 index 000000000000..a318b97211e4 --- /dev/null +++ b/archlinuxcn/python-glyphslib/PKGBUILD @@ -0,0 +1,50 @@ +# Maintainer: taotieren + +pkgname=python-glyphslib +_name=glyphsLib +pkgver=6.1.0 +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) +_pycheckdeps=(lxml # for fonttools[lxml] + pytest + ufo2ft + ufonormalizer + xmldiff) +checkdepends=("${_pycheckdeps[@]/#/python-}") +optdepends=(python-defcon + python-ufonormalizer) +source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz) +sha256sums=('ed0f78639200de6e5e08edfbb241bd6209aefb3887dd5934a5c34e1984c6f38a') + +build() { + cd "$_name-$pkgver" + python -m build -wn +} + +check() { + cd "$_name-$pkgver" + 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 "$_name-$pkgver" + python -m installer -d "$pkgdir" dist/*.whl + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/${pkgname}/LICENSE" +} + diff --git a/archlinuxcn/python-glyphslib/lilac.yaml b/archlinuxcn/python-glyphslib/lilac.yaml new file mode 100644 index 000000000000..32ebcf6b9c22 --- /dev/null +++ b/archlinuxcn/python-glyphslib/lilac.yaml @@ -0,0 +1,18 @@ +maintainers: + - github: taotieren + +build_prefix: extra-x86_64 +repo_depends: + - python-defcon + - python-openstep-plist + - python-ufo2ft + - python-ufonormalizer + - python-xmldiff + +post_build_script: | + git_pkgbuild_commit() + +update_on: + - source: pypi + pypi: glyphsLib + - alias: python diff --git a/archlinuxcn/python-mutatormath/PKGBUILD b/archlinuxcn/python-mutatormath/PKGBUILD new file mode 100644 index 000000000000..a3f0a48d1efd --- /dev/null +++ b/archlinuxcn/python-mutatormath/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: taotieren + +pkgname=python-mutatormath +_name=${pkgname#python-} +_name=${_name//m/M} +pkgver=3.0.1 +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=(python-{build,installer} + python-setuptools + python-wheel) +source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.zip) +sha256sums=('8127c1ffad1646f11a953752296c43f5d88cbd5293fff03f093d916b0bc13864') + +build() { + cd "$_name-$pkgver" + python -m build -wn +} + +package() { + cd "$_name-$pkgver" + python -m installer -d "$pkgdir" dist/*.whl + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/${pkgname}/LICENSE" +} diff --git a/archlinuxcn/python-mutatormath/lilac.yaml b/archlinuxcn/python-mutatormath/lilac.yaml new file mode 100644 index 000000000000..f12a5d5d5a25 --- /dev/null +++ b/archlinuxcn/python-mutatormath/lilac.yaml @@ -0,0 +1,16 @@ +maintainers: + - github: taotieren + +build_prefix: extra-x86_64 + +repo_depends: + - python-defcon + - python-fontmath + +post_build_script: | + git_pkgbuild_commit() + +update_on: + - source: pypi + pypi: MutatorMath + - alias: python diff --git a/archlinuxcn/python-openstep-plist/PKGBUILD b/archlinuxcn/python-openstep-plist/PKGBUILD new file mode 100644 index 000000000000..3a9bf6fcb1e9 --- /dev/null +++ b/archlinuxcn/python-openstep-plist/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: taotieren + +pkgname=python-openstep-plist +_name=openstep_plist +pkgver=0.3.0 +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) +source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.zip) +sha256sums=('28ee2c18a8e8779070505435314d92d5d1b40f2889d3a99dae831b443b2e8019') + +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" +} + diff --git a/archlinuxcn/python-openstep-plist/lilac.yaml b/archlinuxcn/python-openstep-plist/lilac.yaml new file mode 100644 index 000000000000..ddcf763cf7de --- /dev/null +++ b/archlinuxcn/python-openstep-plist/lilac.yaml @@ -0,0 +1,12 @@ +maintainers: + - github: taotieren + +build_prefix: extra-x86_64 + +post_build_script: | + git_pkgbuild_commit() + +update_on: + - source: pypi + pypi: openstep_plist + - alias: python diff --git a/archlinuxcn/python-pyclipper/PKGBUILD b/archlinuxcn/python-pyclipper/PKGBUILD new file mode 100644 index 000000000000..2d8e7a021e67 --- /dev/null +++ b/archlinuxcn/python-pyclipper/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: taotieren + +pkgname=python-pyclipper +_name=${pkgname#python-} +pkgver=1.3.0.post4 +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) +checkdepends=(python-pytest) +source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz) +sha256sums=('b73b19d2a1b895edcacaf4acb441e13e99b9e5fd53b9c0dfd2e1326e2bf68a7a') + +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" +} + diff --git a/archlinuxcn/python-pyclipper/lilac.yaml b/archlinuxcn/python-pyclipper/lilac.yaml new file mode 100644 index 000000000000..cad41d5768f3 --- /dev/null +++ b/archlinuxcn/python-pyclipper/lilac.yaml @@ -0,0 +1,12 @@ +maintainers: + - github: taotieren + +build_prefix: extra-x86_64 + +post_build_script: | + git_pkgbuild_commit() + +update_on: + - source: pypi + pypi: pyclipper + - alias: python diff --git a/archlinuxcn/python-setuptools-git-ls-files/PKGBUILD b/archlinuxcn/python-setuptools-git-ls-files/PKGBUILD new file mode 100644 index 000000000000..c99974498e03 --- /dev/null +++ b/archlinuxcn/python-setuptools-git-ls-files/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: taotieren + +pkgname=python-setuptools-git-ls-files +_name=${pkgname#python-} +_name=${_name//-/_} +pkgver=0.1.2 +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) +source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz) +sha256sums=('7d612087430dc912f0dca7a35c99bf791b2f86b7fa5a40c5a562192947c86efa') + +build() { + cd "$_name-$pkgver" + python -m build -wn +} + +package() { + cd "$_name-$pkgver" + 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/lilac.yaml b/archlinuxcn/python-setuptools-git-ls-files/lilac.yaml new file mode 100644 index 000000000000..dd894f996df7 --- /dev/null +++ b/archlinuxcn/python-setuptools-git-ls-files/lilac.yaml @@ -0,0 +1,12 @@ +maintainers: + - github: taotieren + +build_prefix: extra-x86_64 + +post_build_script: | + git_pkgbuild_commit() + +update_on: + - source: pypi + pypi: setuptools_git_ls_files + - alias: python diff --git a/archlinuxcn/python-skia-pathops/PKGBUILD b/archlinuxcn/python-skia-pathops/PKGBUILD new file mode 100644 index 000000000000..eb99218dcef9 --- /dev/null +++ b/archlinuxcn/python-skia-pathops/PKGBUILD @@ -0,0 +1,46 @@ +# Maintainer: taotieren + +pkgname=python-skia-pathops +_name=${pkgname#python-} +pkgver=0.7.4 +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) +source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.zip) +sha256sums=('0a2fdee87b7adb018cbfa6e95ef9e4299ed63b0080be27677a30ffefbca91350') + +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" +} + diff --git a/archlinuxcn/python-skia-pathops/lilac.yaml b/archlinuxcn/python-skia-pathops/lilac.yaml new file mode 100644 index 000000000000..fd5eb468c632 --- /dev/null +++ b/archlinuxcn/python-skia-pathops/lilac.yaml @@ -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: skia-pathops + - alias: python diff --git a/archlinuxcn/python-ttfautohint-py/PKGBUILD b/archlinuxcn/python-ttfautohint-py/PKGBUILD new file mode 100644 index 000000000000..5d06463b91b1 --- /dev/null +++ b/archlinuxcn/python-ttfautohint-py/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: taotieren + +pkgname=python-ttfautohint-py +_name=${pkgname#python-} +pkgver=0.5.1 +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) +source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz) +sha256sums=('d5e324e1437399ab3ed2ffeb68f8b3235d3ad151eefc8375a1c3a380f5fa94fa') + +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" +} + diff --git a/archlinuxcn/python-ttfautohint-py/lilac.yaml b/archlinuxcn/python-ttfautohint-py/lilac.yaml new file mode 100644 index 000000000000..c4e23c0b4982 --- /dev/null +++ b/archlinuxcn/python-ttfautohint-py/lilac.yaml @@ -0,0 +1,14 @@ +maintainers: + - github: taotieren + +build_prefix: extra-x86_64 +repo_depends: + - ttfautohint + +post_build_script: | + git_pkgbuild_commit() + +update_on: + - source: pypi + pypi: ttfautohint-py + - alias: python diff --git a/archlinuxcn/python-ufo2ft/PKGBUILD b/archlinuxcn/python-ufo2ft/PKGBUILD new file mode 100644 index 000000000000..9cb0f7ebe193 --- /dev/null +++ b/archlinuxcn/python-ufo2ft/PKGBUILD @@ -0,0 +1,47 @@ +# Maintainer: taotieren + +pkgname=python-ufo2ft +_name=${pkgname#python-} +pkgver=2.30.0 +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) +checkdepends=(python-compreffor + python-pytest + python-ufolib2 + python-skia-pathops) +optdepends=(python-compreffor + python-skia-pathops) +source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz) +sha256sums=('6693b9e6b3579156ea31d1b1b199fbee02671816ccf1cf062006909d3cd59dff') + +build() { + cd "$_name-$pkgver" + python -m build -wn +} + +check() { + cd "$_name-$pkgver" + PYTHONPATH="${PWD}/build/lib" pytest tests +} + +package() { + cd "$_name-$pkgver" + python -m installer -d "$pkgdir" dist/*.whl + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/${pkgname}/LICENSE" +} + diff --git a/archlinuxcn/python-ufo2ft/lilac.yaml b/archlinuxcn/python-ufo2ft/lilac.yaml new file mode 100644 index 000000000000..a088f766324f --- /dev/null +++ b/archlinuxcn/python-ufo2ft/lilac.yaml @@ -0,0 +1,19 @@ +maintainers: + - github: taotieren + +build_prefix: extra-x86_64 +repo_depends: + - python-booleanoperations + - python-compreffor + - python-cffsubr + - python-cu2qu + - python-defcon + - python-skia-pathops + +post_build_script: | + git_pkgbuild_commit() + +update_on: + - source: pypi + pypi: ufo2ft + - alias: python diff --git a/archlinuxcn/python-ufonormalizer/PKGBUILD b/archlinuxcn/python-ufonormalizer/PKGBUILD new file mode 100644 index 000000000000..101017416ddb --- /dev/null +++ b/archlinuxcn/python-ufonormalizer/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: taotieren + +pkgname=python-ufonormalizer +_name=${pkgname#python-} +pkgver=0.6.1 +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) +makedepends=(python-{build,installer} + python-setuptools-scm + python-wheel) +source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.zip) +sha256sums=('e61110e75a500083f265385b1354b578610f9542e3bbbeedb98a2a6155e4aa6c') + +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" +} + diff --git a/archlinuxcn/python-ufonormalizer/lilac.yaml b/archlinuxcn/python-ufonormalizer/lilac.yaml new file mode 100644 index 000000000000..d2c0bb908378 --- /dev/null +++ b/archlinuxcn/python-ufonormalizer/lilac.yaml @@ -0,0 +1,12 @@ +maintainers: + - github: taotieren + +build_prefix: extra-x86_64 + +post_build_script: | + git_pkgbuild_commit() + +update_on: + - source: pypi + pypi: ufonormalizer + - alias: python diff --git a/archlinuxcn/python-xmldiff/PKGBUILD b/archlinuxcn/python-xmldiff/PKGBUILD new file mode 100644 index 000000000000..2af96cff8ecd --- /dev/null +++ b/archlinuxcn/python-xmldiff/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: taotieren + +pkgname=python-xmldiff +_name=${pkgname#python-} +pkgver=2.5 +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=(python-setuptools) +source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz) +sha256sums=('6c5f30bc65ce6e81d9a70a3cb0269f7ba61852fd6caa7a0fbfc0edf33b3cb717') + +build() { + cd "$_name-$pkgver" + python setup.py build +} + +package() { + cd "$_name-$pkgver" + 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/lilac.yaml b/archlinuxcn/python-xmldiff/lilac.yaml new file mode 100644 index 000000000000..6e83a99d6d1e --- /dev/null +++ b/archlinuxcn/python-xmldiff/lilac.yaml @@ -0,0 +1,12 @@ +maintainers: + - github: taotieren + +build_prefix: extra-x86_64 + +post_build_script: | + git_pkgbuild_commit() + +update_on: + - source: pypi + pypi: xmldiff + - alias: python