Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / 
python-rdflib


Commits:
91cdcf99 by loqs at 2024-03-12T19:40:32+00:00
Change to a PEP 517 based workflow

- - - - -
308f39e3 by loqs at 2024-03-12T19:44:11+00:00
Change to SPDX license identifier

https://github.com/RDFLib/rdflib/blob/6.2.0/LICENSE

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -8,8 +8,9 @@ pkgrel=2
 pkgdesc="A Python library for working with RDF, a simple yet powerful language 
for representing information"
 arch=('any')
 url="https://github.com/RDFLib/rdflib";
-license=('BSD')
+license=('BSD-3-Clause')
 depends=('python-isodate' 'python-pyparsing' 'python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-wheel')
 optdepends=('python-html5lib: for html support')
 checkdepends=('python-pytest-cov' 'python-six' 'python-html5lib' 
'python-networkx'
               'python-doctest-ignore-unicode' 'python-pip')
@@ -18,7 +19,7 @@ 
sha512sums=('8177c50e9c2d48859a061dfee24c3560b8f979bc306b3d940a9251ec130e3a324bb
 
 build() {
   cd rdflib-$pkgver
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 check() {
@@ -28,6 +29,6 @@ check() {
 
 package() {
   cd rdflib-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
+  python -m installer --destdir="$pkgdir" dist/*.whl
   install -Dm644  LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-rdflib/-/compare/f6fd07fea253607e18e947390107b18def7a2379...308f39e3aa69ec7814fbcaf44a26dff5f39a8013

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-rdflib/-/compare/f6fd07fea253607e18e947390107b18def7a2379...308f39e3aa69ec7814fbcaf44a26dff5f39a8013
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to