[arch-commits] Commit in python-ufolib2/repos/community-any (PKGBUILD PKGBUILD)

Caleb Maclennan alerque at gemini.archlinux.org
Tue Feb 22 19:53:02 UTC 2022


    Date: Tuesday, February 22, 2022 @ 19:53:02
  Author: alerque
Revision: 1136123

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   84 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 40 insertions(+), 44 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-22 19:52:54 UTC (rev 1136122)
+++ PKGBUILD	2022-02-22 19:53:02 UTC (rev 1136123)
@@ -1,44 +0,0 @@
-# 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=2
-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-scm) # scm required for _version file generation
-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
-}

Copied: python-ufolib2/repos/community-any/PKGBUILD (from rev 1136122, python-ufolib2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-02-22 19:53:02 UTC (rev 1136123)
@@ -0,0 +1,40 @@
+# 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=3
+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-{build,installer}
+             python-wheel # todo: make this go away
+             python-setuptools-scm) # scm required for _version file generation
+checkdepends=(python-pytest)
+_archive="$_pyname-$pkgver"
+source=("https://files.pythonhosted.org/packages/source/${_pyname::1}/$_pyname/$_archive.tar.gz")
+sha256sums=('3275a2da623e6d4b7ee29c984cdb3a5b86bbc23f0a1ce94486d8bb5c308aa47b')
+
+build() {
+	cd "$_archive"
+	python -m build -wn
+}
+
+check() {
+	cd "$_archive"
+	PYTHONPATH=src pytest tests
+}
+
+package() {
+	cd "$_archive"
+	python -m installer -d "$pkgdir" dist/*.whl
+}



More information about the arch-commits mailing list