[arch-commits] Commit in python-ufolib2/repos/community-any (PKGBUILD PKGBUILD)
Caleb Maclennan
alerque at gemini.archlinux.org
Tue Feb 8 14:19:29 UTC 2022
Date: Tuesday, February 8, 2022 @ 14:19:28
Author: alerque
Revision: 1129235
archrelease: copy trunk to community-any
Added:
python-ufolib2/repos/community-any/PKGBUILD
(from rev 1129234, python-ufolib2/trunk/PKGBUILD)
Deleted:
python-ufolib2/repos/community-any/PKGBUILD
----------+
PKGBUILD | 80 +++++++++++++++++++++++++++++++++----------------------------
1 file changed, 44 insertions(+), 36 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-02-08 14:19:20 UTC (rev 1129234)
+++ PKGBUILD 2022-02-08 14:19:28 UTC (rev 1129235)
@@ -1,36 +0,0 @@
-# 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=3
-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
-}
Copied: python-ufolib2/repos/community-any/PKGBUILD (from rev 1129234, python-ufolib2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-02-08 14:19:28 UTC (rev 1129235)
@@ -0,0 +1,44 @@
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
+# Contributor: Guillaume Horel <guillaume.horel at gmail.com>
+
+_pyname=ufoLib2
+pkgname=python-${_pyname,,}
+pkgver=0.13.1
+pkgrel=1
+pkgdesc='A library to deal with UFO font sources'
+arch=(any)
+url="https://github.com/fonttools/$_pyname"
+license=(Apache)
+_pydeps=(attrs
+ cattrs
+ fonttools
+ fs # for fonttools[ufo]
+ lxml)
+depends=(python
+ "${_pydeps[@]/#/python-}")
+makedepends=(python-dephell
+ python-setuptools)
+checkdepends=(python-pytest)
+_archive="$_pyname-$pkgver"
+source=("https://files.pythonhosted.org/packages/source/${_pyname::1}/$_pyname/$_archive.tar.gz")
+sha256sums=('3275a2da623e6d4b7ee29c984cdb3a5b86bbc23f0a1ce94486d8bb5c308aa47b')
+
+prepare() {
+ cd "$_archive"
+ dephell deps convert --from pyproject.toml --to setup.py
+}
+
+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