Created
August 17, 2019 19:25
-
-
Save thrasibule/598ed2680e623d190ce2d857875b8416 to your computer and use it in GitHub Desktop.
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
diff --git a/PKGBUILD b/PKGBUILD | |
index f7038ee..7158d63 100644 | |
--- a/PKGBUILD | |
+++ b/PKGBUILD | |
@@ -1,15 +1,15 @@ | |
pkgname=python-cu2qu | |
_module=cu2qu | |
-pkgver=1.6.4 | |
+pkgver=1.6.5 | |
pkgrel=1 | |
pkgdesc="Cubic-to-quadratic bezier curve conversion" | |
-url="https://github.com/googlei18n" | |
-depends=('python' 'python-ufolib') | |
-makedepends=('python-setuptools') | |
+url="https://github.com/googlefonts/cu2qu" | |
+depends=('python' 'python-defcon' 'python-fonttools') | |
+makedepends=('cython' 'python-setuptools') | |
license=('Apache') | |
-arch=('any') | |
-source=("https://files.pythonhosted.org/packages/29/33/6186137547733d15ae15ad00bc81688d474fdbb7e1aad4ee35c1d5228936/cu2qu-${pkgver}.zip") | |
-md5sums=('5d3fe137d091286f8086588734cedb6b') | |
+arch=('x86_64') | |
+source=("https://pypi.org/packages/source/${_module:0:1}/$_module/$_module-$pkgver.zip") | |
+sha256sums=('b3b4a0d80798489906ca503c4a7a749e0a360670aa2f10f21dd01682e37b8293') | |
build() { | |
cd "${srcdir}/${_module}-${pkgver}" | |
@@ -17,8 +17,11 @@ build() { | |
} | |
package() { | |
- depends+=() | |
cd "${srcdir}/${_module}-${pkgver}" | |
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build | |
- chmod -R o+r ${pkgdir} | |
+} | |
+ | |
+check() { | |
+ cd "${srcdir}/${_module}-${pkgver}" | |
+ python setup.py test | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment