Jelle van der Waa pushed to branch main at Arch Linux / Packaging / Packages / 
python-markups


Commits:
a30d5964 by loqs at 2024-04-07T16:01:24+00:00
Switch to git source.

https://archlinux.org/todo/fix-reproducibility-of-packages-broken-by-pypi-removing-signature-files/

- - - - -
f168b9f0 by loqs at 2024-04-07T16:01:32+00:00
Update URL

Change from launchpad.net mirror to https://github.com/retext-project/pymarkups.

- - - - -
2ef68c0a by loqs at 2024-04-07T16:01:34+00:00
Drop checkdepends.

The PKGBUILD has no check function.

- - - - -
26da0238 by loqs at 2024-04-07T16:01:35+00:00
Change to a PEP 517 based workflow

- - - - -
fbf53856 by loqs at 2024-04-07T16:01:37+00:00
Change to SPDX license identifier

https://github.com/retext-project/pymarkups/blob/3.1.3/LICENSE

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -1,32 +1,30 @@
 # Maintainer: Jaroslav Lichtblau <svetlemo...@archlinux.org>
 # Contributor: Thomas Weißschuh <thomas t-8ch de>
 
-_pkgname=Markups
+_pkgname=pymarkups
 pkgname=python-markups
 pkgver=3.1.3
 pkgrel=9
 pkgdesc='Wrapper around various text markups'
 arch=('any')
-url='https://launchpad.net/python-markups'
-license=('BSD')
+url='https://github.com/retext-project/pymarkups'
+license=('BSD-3-Clause')
 depends=('python-markdown-math')
 optdepends=('python-docutils: for reStructuredText language support'
             'python-pygments: for highlighting output style')
-makedepends=('python-docutils' 'python-pygments' 'python-wheel' 
'python-setuptools')
-checkdepends=('python-tox')
-#source=($pkgname-$pkgver.tar.gz::https://github.com/retext-project/pymarkups/archive/$pkgver.tar.gz)
-source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz";)
-sha256sums=('ab9747a72c1c6457418eb4276c79871977c13a654618e4f12e2a1f0990fbf2fc')
+makedepends=('python-docutils' 'python-pygments' 'python-wheel' 
'python-setuptools' 'python-build' 'python-installer' 'git')
+source=("git+${url}#tag=$pkgver?signed")
+sha256sums=('SKIP')
 validpgpkeys=('F24299FF1BBC9018B906A4CB6026936D2F1C8AE0') # Dmitry Shachnev 
<mity...@debian.org>
 
 build() {
-  cd "${srcdir}"/${_pkgname}-${pkgver}
+  cd "${srcdir}"/${_pkgname}
 
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 package() {
-  cd "${srcdir}"/${_pkgname}-${pkgver}
-  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+  cd "${srcdir}"/${_pkgname}
+  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-markups/-/compare/b56ea9a38bb23e19df2da398b3a6469b96efc859...fbf53856ff7c799167def8fff4e701bd0e27198c

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-markups/-/compare/b56ea9a38bb23e19df2da398b3a6469b96efc859...fbf53856ff7c799167def8fff4e701bd0e27198c
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to