From 693cf4bdf603540f5e9085e22d13bce85f7ee4b1 Mon Sep 17 00:00:00 2001 From: Tim Biermann Date: Sun, 25 Feb 2024 20:33:07 +0100 Subject: [PATCH] python3-sphinxcontrib-jsmath: switched to pep517 build --- python3-sphinxcontrib-jsmath/.footprint | 21 ++++++++++----------- python3-sphinxcontrib-jsmath/.signature | 6 +++--- python3-sphinxcontrib-jsmath/Pkgfile | 19 ++++++------------- 3 files changed, 19 insertions(+), 27 deletions(-) diff --git a/python3-sphinxcontrib-jsmath/.footprint b/python3-sphinxcontrib-jsmath/.footprint index 4ddd7a730..05745cae2 100644 --- a/python3-sphinxcontrib-jsmath/.footprint +++ b/python3-sphinxcontrib-jsmath/.footprint @@ -6,15 +6,14 @@ drwxr-xr-x root/root usr/lib/python3.10/site-packages/sphinxcontrib/ drwxr-xr-x root/root usr/lib/python3.10/site-packages/sphinxcontrib/jsmath/ -rw-r--r-- root/root usr/lib/python3.10/site-packages/sphinxcontrib/jsmath/__init__.py drwxr-xr-x root/root usr/lib/python3.10/site-packages/sphinxcontrib/jsmath/__pycache__/ --rw-r--r-- root/root usr/lib/python3.10/site-packages/sphinxcontrib/jsmath/__pycache__/__init__.cpython-310.pyc --rw-r--r-- root/root usr/lib/python3.10/site-packages/sphinxcontrib/jsmath/__pycache__/version.cpython-310.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/sphinxcontrib/jsmath/__pycache__/__init__.cpython-310.opt-2.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/sphinxcontrib/jsmath/__pycache__/version.cpython-310.opt-2.pyc -rw-r--r-- root/root usr/lib/python3.10/site-packages/sphinxcontrib/jsmath/version.py --rw-r--r-- root/root usr/lib/python3.10/site-packages/sphinxcontrib_jsmath-1.0.1-py3.10-nspkg.pth -drwxr-xr-x root/root usr/lib/python3.10/site-packages/sphinxcontrib_jsmath-1.0.1-py3.10.egg-info/ --rw-r--r-- root/root usr/lib/python3.10/site-packages/sphinxcontrib_jsmath-1.0.1-py3.10.egg-info/PKG-INFO --rw-r--r-- root/root usr/lib/python3.10/site-packages/sphinxcontrib_jsmath-1.0.1-py3.10.egg-info/SOURCES.txt --rw-r--r-- root/root usr/lib/python3.10/site-packages/sphinxcontrib_jsmath-1.0.1-py3.10.egg-info/dependency_links.txt --rw-r--r-- root/root usr/lib/python3.10/site-packages/sphinxcontrib_jsmath-1.0.1-py3.10.egg-info/namespace_packages.txt --rw-r--r-- root/root usr/lib/python3.10/site-packages/sphinxcontrib_jsmath-1.0.1-py3.10.egg-info/not-zip-safe --rw-r--r-- root/root usr/lib/python3.10/site-packages/sphinxcontrib_jsmath-1.0.1-py3.10.egg-info/requires.txt --rw-r--r-- root/root usr/lib/python3.10/site-packages/sphinxcontrib_jsmath-1.0.1-py3.10.egg-info/top_level.txt +-rw-r--r-- root/root usr/lib/python3.10/site-packages/sphinxcontrib_jsmath-1.0.1.dev20240225-py3.10-nspkg.pth +drwxr-xr-x root/root usr/lib/python3.10/site-packages/sphinxcontrib_jsmath-1.0.1.dev20240225.dist-info/ +-rw-r--r-- root/root usr/lib/python3.10/site-packages/sphinxcontrib_jsmath-1.0.1.dev20240225.dist-info/LICENSE +-rw-r--r-- root/root usr/lib/python3.10/site-packages/sphinxcontrib_jsmath-1.0.1.dev20240225.dist-info/METADATA +-rw-r--r-- root/root usr/lib/python3.10/site-packages/sphinxcontrib_jsmath-1.0.1.dev20240225.dist-info/RECORD +-rw-r--r-- root/root usr/lib/python3.10/site-packages/sphinxcontrib_jsmath-1.0.1.dev20240225.dist-info/WHEEL +-rw-r--r-- root/root usr/lib/python3.10/site-packages/sphinxcontrib_jsmath-1.0.1.dev20240225.dist-info/namespace_packages.txt +-rw-r--r-- root/root usr/lib/python3.10/site-packages/sphinxcontrib_jsmath-1.0.1.dev20240225.dist-info/top_level.txt diff --git a/python3-sphinxcontrib-jsmath/.signature b/python3-sphinxcontrib-jsmath/.signature index b65255c61..27e4176c9 100644 --- a/python3-sphinxcontrib-jsmath/.signature +++ b/python3-sphinxcontrib-jsmath/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF3+fpuYeVMOEEZnv1Ly02Ky+2VBtN0v/rjDM77pHnjhXymbc8nGRUOzvSu72Rq6Zk3cygxFBdIb/LhmioA5v2vgk= -SHA256 (Pkgfile) = 1370c414f1c2d50625cd8acc52f7fd3d8887ac8e76511e22d736fb4978a662a3 -SHA256 (.footprint) = 87c4b7e56dc5015182e7d4ed1a0a1656b2b08b12b7778d9cdde66db00f68899a +RWSagIOpLGJF3/I1ezgfcvXo5DOdYd1Rlx5g0rvMBmbrb/eNwDdHrPmkdxlLMPHxczaElGL9fR1+Zi+T/qHH3SEKX5yUFzgw5wc= +SHA256 (Pkgfile) = 876872c0260f11b8f61161b666538cb4425c589095e3948d53bcc9ea6e76ba35 +SHA256 (.footprint) = 8a3cc2db947fe2129d4a93e8011ff1b934fac198688cd2a4aeee848853451432 SHA256 (sphinxcontrib-jsmath-1.0.1.tar.gz) = 1a20febedb885c78f2e2c29b6f4c1e4e6fe0ac4699378b624b805914491df064 diff --git a/python3-sphinxcontrib-jsmath/Pkgfile b/python3-sphinxcontrib-jsmath/Pkgfile index 7ab38badf..b5d683e86 100644 --- a/python3-sphinxcontrib-jsmath/Pkgfile +++ b/python3-sphinxcontrib-jsmath/Pkgfile @@ -1,23 +1,16 @@ # Description: sphinx extension which renders display math in HTML via JavaScript # URL: https://github.com/sphinx-doc/sphinxcontrib-jsmath/ -# Maintainer: unmaintained -# Depends on: python3-setuptools +# Maintainer: CRUX System Team, core-ports at crux dot nu +# Depends on: python3-build python3-flit-core python3-installer python3-wheel name=python3-sphinxcontrib-jsmath version=1.0.1 release=1 -source=(https://github.com/sphinx-doc/${name#*-}/archive/$version/${name#*-}-$version.tar.gz) +source=(https://pypi.org/packages/source/s/sphinxcontrib-jsmath/sphinxcontrib-jsmath-$version.tar.gz) build() { - cd ${name#*-}-$version + cd sphinxcontrib-jsmath-$version - sed -i '/^tag_build =/s/= .*$/=/' setup.cfg - sed -i '/^tag_date =/s/true/false/' setup.cfg - - /usr/bin/python3 setup.py build - /usr/bin/python3 setup.py install \ - --prefix=/usr \ - --root=$PKG - - chmod -R go-w,a+r,u+w $PKG + /usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation + /usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl }