-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
On branch main - Changes to be committed: - new file: .SRCINFO - new file: .gitignore - new file: PKGBUILD
- Loading branch information
0 parents
commit b70117f
Showing
3 changed files
with
96 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,19 @@ | ||
pkgbase = python-cu2qu | ||
pkgdesc = Cubic-to-quadratic bezier curve conversion | ||
pkgver = 1.6.7.post1 | ||
pkgrel = 2 | ||
url = https://github.com/googlefonts/cu2qu | ||
arch = any | ||
license = Apache | ||
checkdepends = python-coverage | ||
checkdepends = python-pytest-runner | ||
makedepends = cython | ||
makedepends = python-setuptools-scm | ||
depends = python | ||
depends = python-defcon | ||
depends = python-fonttools | ||
depends = python-fs | ||
source = https://files.pythonhosted.org/packages/source/c/cu2qu/cu2qu-1.6.7.post1.zip | ||
sha512sums = a0dbed28403ae2bbdbf4719d9e34d5861250dc1510129d658b336d773a5153e0955d5f2ff018f5f93d88394658918fad2a58aebb99cef998d4cf9128a300f489 | ||
|
||
pkgname = python-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,5 @@ | ||
pkg/ | ||
src/ | ||
*.tar.gz | ||
*.tar.xz | ||
*.zip |
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,72 @@ | ||
#!/bin/bash | ||
|
||
# Created from the original PKGBUILD by Caleb Maclennan <[email protected]> and Guillaume Horel <[email protected]> | ||
|
||
# Disable various shellcheck rules that produce false positives in this file. | ||
# Repository rules should be added to the .shellcheckrc file located in the | ||
# repository root directory, see https://github.com/koalaman/shellcheck/wiki | ||
# and https://archiv8.github.io for further information. | ||
# shellcheck disable=SC2034,SC2154 | ||
# ToDo: Add files: User documentation | ||
# ToDo: Add files: Tooling | ||
# FixMe: Namcap warnings and errors | ||
|
||
# Maintainer: Ross Clark <https://github.com/Archiv8/python-cu2qu/discussions> | ||
# Contributor: Ross Clark <https://github.com/Archiv8/python-cu2qu/discussions> | ||
|
||
_langname="python" | ||
_relname="cu2qu" | ||
|
||
pkgname="${_langname}-${_relname}" | ||
pkgver=1.6.7.post1 | ||
pkgrel=2 | ||
pkgdesc='Cubic-to-quadratic bezier curve conversion' | ||
arch=( | ||
"any" | ||
) | ||
url="https://github.com/googlefonts/cu2qu" | ||
license=( | ||
"Apache" | ||
) | ||
depends=( | ||
"python" | ||
"python-defcon" | ||
"python-fonttools" | ||
"python-fs" | ||
) | ||
makedepends=( | ||
"cython" | ||
"python-setuptools-scm" | ||
) | ||
checkdepends=( | ||
"python-coverage" | ||
"python-pytest-runner" | ||
) | ||
_tarname="$_relname-$pkgver" | ||
source=( | ||
"https://files.pythonhosted.org/packages/source/${_relname::1}/$_relname/$_tarname.zip" | ||
) | ||
sha512sums=( | ||
'a0dbed28403ae2bbdbf4719d9e34d5861250dc1510129d658b336d773a5153e0955d5f2ff018f5f93d88394658918fad2a58aebb99cef998d4cf9128a300f489' | ||
) | ||
|
||
build() { | ||
|
||
cd "$_tarname" | ||
|
||
python setup.py build | ||
} | ||
|
||
check() { | ||
|
||
cd "$_tarname" | ||
|
||
python setup.py test | ||
} | ||
|
||
package() { | ||
|
||
cd "$_tarname" | ||
|
||
python setup.py install --root="$pkgdir" --optimize=1 --skip-build | ||
} |