Skip to content

Commit

Permalink
Add python-fontmake extreme dependency package
Browse files Browse the repository at this point in the history
  • Loading branch information
taotieren committed Feb 7, 2023
1 parent 2e52e3a commit 454c176
Show file tree
Hide file tree
Showing 76 changed files with 2,178 additions and 0 deletions.
45 changes: 45 additions & 0 deletions archlinuxcn/python-booleanoperations-git/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Maintainer: taotieren <admin@taotieren.com>

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"
}

18 changes: 18 additions & 0 deletions archlinuxcn/python-booleanoperations-git/lilac.yaml
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
38 changes: 38 additions & 0 deletions archlinuxcn/python-booleanoperations/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Maintainer: taotieren <admin@taotieren.com>

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"
}

16 changes: 16 additions & 0 deletions archlinuxcn/python-booleanoperations/lilac.yaml
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
48 changes: 48 additions & 0 deletions archlinuxcn/python-cffsubr-git/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Maintainer: taotieren <admin@taotieren.com>

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"
}

16 changes: 16 additions & 0 deletions archlinuxcn/python-cffsubr-git/lilac.yaml
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
41 changes: 41 additions & 0 deletions archlinuxcn/python-cffsubr/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Maintainer: taotieren <admin@taotieren.com>

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)
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"
}

14 changes: 14 additions & 0 deletions archlinuxcn/python-cffsubr/lilac.yaml
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
44 changes: 44 additions & 0 deletions archlinuxcn/python-compreffor-git/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Maintainer: taotieren <admin@taotieren.com>

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"
}

16 changes: 16 additions & 0 deletions archlinuxcn/python-compreffor-git/lilac.yaml
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
37 changes: 37 additions & 0 deletions archlinuxcn/python-compreffor/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Maintainer: taotieren <admin@taotieren.com>

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"
}

15 changes: 15 additions & 0 deletions archlinuxcn/python-compreffor/lilac.yaml
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
Loading

0 comments on commit 454c176

Please sign in to comment.