[arch-commits] Commit in python-ufolib2/repos (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Wed Dec 1 14:55:51 UTC 2021


    Date: Wednesday, December 1, 2021 @ 14:55:51
  Author: felixonmars
Revision: 1059548

archrelease: copy trunk to community-staging-any

Added:
  python-ufolib2/repos/community-staging-any/
  python-ufolib2/repos/community-staging-any/PKGBUILD
    (from rev 1059546, python-ufolib2/trunk/PKGBUILD)

----------+
 PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

Copied: python-ufolib2/repos/community-staging-any/PKGBUILD (from rev 1059546, python-ufolib2/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-12-01 14:55:51 UTC (rev 1059548)
@@ -0,0 +1,36 @@
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
+# Contributor: Guillaume Horel <guillaume.horel at gmail.com>
+
+_pyname=ufoLib2
+pkgname=python-${_pyname,,}
+pkgver=0.11.4
+pkgrel=2
+pkgdesc='A library to deal with UFO font sources'
+arch=(any)
+url="https://github.com/fonttools/$_pyname"
+license=(Apache)
+_pydeps=(attrs
+         fonttools
+         fs) # for fonttools[ufo]
+depends=(python
+         "${_pydeps[@]/#/python-}")
+makedepends=(python-setuptools-scm)
+checkdepends=(python-pytest)
+_archive="$_pyname-$pkgver"
+source=("https://files.pythonhosted.org/packages/source/${_pyname::1}/$_pyname/$_archive.zip")
+sha256sums=('25359d24a46c7a67c3cd060f0ff2daee2e8aa96c0a811c43ef5111407beee49b')
+
+build() {
+	cd "$_archive"
+	python setup.py build
+}
+
+check() {
+	cd "$_archive"
+	PYTHONPATH=src pytest tests
+}
+
+package() {
+	cd "$_archive"
+	python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}



More information about the arch-commits mailing list