summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Maclennan2019-11-15 13:27:35 +0300
committerCaleb Maclennan2019-11-15 13:40:06 +0300
commita5c5bc2661896a578a155a82f64f807cd6a80c41 (patch)
tree1ac2ce1edd571b968ea79e50244adb3ee6fbbda8
parent67414f945c047ad6947a8b0b236aea867739a99f (diff)
downloadaur-a5c5bc2661896a578a155a82f64f807cd6a80c41.tar.gz
Overhaul dependencies
-rw-r--r--.SRCINFO23
-rw-r--r--PKGBUILD36
2 files changed, 33 insertions, 26 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 22eeaaaa5b9..4cdb1b65942 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,20 +1,23 @@
pkgbase = afdko-git
pkgdesc = Tools used by Adobe font developers for wrapping up PostScript fonts as OpenType/CFF font files
- pkgver = 2.7.3a4.r0.ec914b7
+ pkgver = 3.0.2a5.r47.323bebca
pkgrel = 1
url = https://github.com/adobe-type-tools/afdko
arch = x86_64
license = custom
+ checkdepends = python-pytest
makedepends = git
- depends = python2
- depends = python2-booleanoperations
- depends = python2-defcon
- depends = python2-fontmath
- depends = python2-fonttools
- depends = python2-mutatormath
- depends = python2-robofab
- depends = python2-wheel
- depends = python2-ufonormalizer-git
+ makedepends = python-setuptools
+ makedepends = python-wheel
+ depends = python
+ depends = psautohint
+ depends = python-booleanoperations
+ depends = python-cu2qu
+ depends = python-fontparts
+ depends = python-lxml
+ depends = python-mutatormath
+ depends = python-ufonormalizer
+ depends = python-ufoprocessor
provides = afdko
conflicts = afdko
source = git+https://github.com/adobe-type-tools/afdko.git
diff --git a/PKGBUILD b/PKGBUILD
index 6ee59d14ea6..6637ededbb0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,41 +1,45 @@
-# Maintainer: William Turner <willtur.will@gmail.com>
+# Maintainer: William Turner <willtur.will@gmail.com>
# Maintainer: Caleb Maclennan <caleb@alerque.com>
pkgname=afdko-git
-pkgver=2.7.3a4.r0.ec914b7
+pkgver=3.0.2a5.r47.323bebca
pkgrel=1
pkgdesc='Tools used by Adobe font developers for wrapping up PostScript fonts as OpenType/CFF font files'
arch=('x86_64')
url="https://github.com/adobe-type-tools/${pkgname%-git}"
license=('custom')
-depends=('python2'
- 'python2-booleanoperations'
- 'python2-defcon'
- 'python2-fontmath'
- 'python2-fonttools'
- 'python2-mutatormath'
- 'python2-robofab'
- 'python2-wheel'
- 'python2-ufonormalizer-git')
+_py_deps=('booleanoperations' 'cu2qu' 'fontparts' 'lxml' 'mutatormath' 'ufonormalizer' 'ufoprocessor')
+depends=('python' 'psautohint' "${_py_deps[@]/#/python-}")
depends_x86_64=('lib32-glibc')
-makedepends=('git')
+makedepends=('git' 'python-setuptools' 'python-wheel')
+checkdepends=('python-pytest')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("git+https://github.com/adobe-type-tools/${pkgname%-git}.git")
sha256sums=('SKIP')
pkgver() {
- cd "${pkgname%-git}"
- git describe --long --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g'
+ cd "${pkgname%-git}"
+ git describe --long --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g'
+}
+
+prepare () {
+ cd "${pkgname%-git}"
+ sed -i -e 's/==/>=/g' requirements.txt
}
build() {
cd "${pkgname%-git}"
- python2 setup.py -q build
+ python setup.py -q build
+}
+
+check() {
+ cd "${pkgname%-git}"
+ python setup.py test
}
package() {
cd "${pkgname%-git}"
- python2 setup.py -q install --root="$pkgdir" --optimize=1
+ python setup.py -q install --root="$pkgdir" --optimize=1
install -D -m644 "LICENSE.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}