Skip to content

Commit

Permalink
Add python-cu2qu-git
Browse files Browse the repository at this point in the history
  • Loading branch information
taotieren committed Jan 30, 2023
1 parent 3692ec4 commit 8d2da8d
Show file tree
Hide file tree
Showing 15 changed files with 72 additions and 1 deletion.
1 change: 1 addition & 0 deletions archlinuxcn/python-booleanoperations-git/lilac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ pre_build: vcs_update

post_build_script: |
git_pkgbuild_commit()
update_aur_repo()
update_on:
- source: github
Expand Down
1 change: 1 addition & 0 deletions archlinuxcn/python-cffsubr-git/lilac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ pre_build: vcs_update

post_build_script: |
git_pkgbuild_commit()
update_aur_repo()
update_on:
- source: github
Expand Down
2 changes: 1 addition & 1 deletion archlinuxcn/python-compreffor-git/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Maintainer: taotieren <[email protected]>

pkgname=python-python-compreffor-git
pkgname=python-compreffor-git
pkgver=0.5.3.r0.g3678d3e
pkgrel=1
pkgdesc='A CFF table subroutinizer for FontTools'
Expand Down
1 change: 1 addition & 0 deletions archlinuxcn/python-compreffor-git/lilac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ pre_build: vcs_update

post_build_script: |
git_pkgbuild_commit()
update_aur_repo()
update_on:
- source: github
Expand Down
45 changes: 45 additions & 0 deletions archlinuxcn/python-cu2qu-git/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# 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
python-{build,installer}
python-setuptools-scm)
checkdepends=(git
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=tests pytest
}

package() {
cd "$pkgname"
python -m installer -d "$pkgdir" dist/*.whl
}

14 changes: 14 additions & 0 deletions archlinuxcn/python-cu2qu-git/lilac.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
maintainers:
- github: taotieren

build_prefix: archlinuxcn-x86_64

pre_build: vcs_update

post_build_script: |
git_pkgbuild_commit()
update_aur_repo()
update_on:
- source: github
github: googlefonts/cu2qu
1 change: 1 addition & 0 deletions archlinuxcn/python-fontmath-git/lilac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ pre_build: vcs_update

post_build_script: |
git_pkgbuild_commit()
update_aur_repo()
update_on:
- source: github
Expand Down
1 change: 1 addition & 0 deletions archlinuxcn/python-fontparts-git/lilac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ pre_build: vcs_update

post_build_script: |
git_pkgbuild_commit()
update_aur_repo()
update_on:
- source: github
Expand Down
1 change: 1 addition & 0 deletions archlinuxcn/python-fontpens-git/lilac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ pre_build: vcs_update

post_build_script: |
git_pkgbuild_commit()
update_aur_repo()
update_on:
- source: github
Expand Down
1 change: 1 addition & 0 deletions archlinuxcn/python-glyphslib-git/lilac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ pre_build: vcs_update

post_build_script: |
git_pkgbuild_commit()
update_aur_repo()
update_on:
- source: github
Expand Down
1 change: 1 addition & 0 deletions archlinuxcn/python-mutatormath-git/lilac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ pre_build: vcs_update

post_build_script: |
git_pkgbuild_commit()
update_aur_repo()
update_on:
- source: github
Expand Down
1 change: 1 addition & 0 deletions archlinuxcn/python-openstep-plist-git/lilac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ pre_build: vcs_update

post_build_script: |
git_pkgbuild_commit()
update_aur_repo()
update_on:
- source: github
Expand Down
1 change: 1 addition & 0 deletions archlinuxcn/python-setuptools-git-ls-files-git/lilac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ pre_build: vcs_update

post_build_script: |
git_pkgbuild_commit()
update_aur_repo()
update_on:
- source: github
Expand Down
1 change: 1 addition & 0 deletions archlinuxcn/python-skia-pathops-git/lilac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ pre_build: vcs_update

post_build_script: |
git_pkgbuild_commit()
update_aur_repo()
update_on:
- source: github
Expand Down
1 change: 1 addition & 0 deletions archlinuxcn/python-ttfautohint-py-git/lilac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ pre_build: vcs_update

post_build_script: |
git_pkgbuild_commit()
update_aur_repo()
update_on:
- source: github
Expand Down

0 comments on commit 8d2da8d

Please sign in to comment.