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

Antonio Rojas arojas at gemini.archlinux.org
Mon Aug 1 07:34:39 UTC 2022


    Date: Monday, August 1, 2022 @ 07:34:39
  Author: arojas
Revision: 1259587

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-01 07:34:30 UTC (rev 1259586)
+++ PKGBUILD	2022-08-01 07:34:39 UTC (rev 1259587)
@@ -1,40 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-
-_pkgname=SolidPython
-pkgname=python-solidpython
-pkgver=1.1.1
-pkgrel=3
-pkgdesc='Python frontend for solid modelling that compiles to OpenSCAD'
-arch=('any')
-url='https://github.com/SolidCode/SolidPython'
-license=('LGPL')
-depends=('python-euclid3' 'python-pypng' 'python-prettytable' 'python-regex')
-makedepends=('python-setuptools' 'python-dephell')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha512sums=('fa8b28e6d0adf9cdfa762a85adcd5f8dea3ea5a4136d51dc836b333dc701475b82802af226edbef785185a3e124d778d02f1fecee931475e96e88facbfb4e79e')
-
-prepare() {
-  cd $_pkgname-$pkgver
-
-  sed -i -e '/tox/d' -e 's|regex = "^2019.4"|regex = ">=2019.4"|' pyproject.toml
-
-  dephell deps convert --from pyproject.toml --to setup.py
-}
-
-build() {
-  cd $_pkgname-$pkgver
-
-  python setup.py build
-}
-
-check() {
-  cd $_pkgname-$pkgver
-
-  PYTHONPATH=$(pwd) solid/test/run_all_tests.sh
-}
-
-package() {
-  cd $_pkgname-$pkgver
-
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}

Copied: python-solidpython/repos/community-any/PKGBUILD (from rev 1259586, python-solidpython/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-08-01 07:34:39 UTC (rev 1259587)
@@ -0,0 +1,40 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=SolidPython
+pkgname=python-solidpython
+pkgver=1.1.3
+pkgrel=1
+_commit=0a4f539c31a25df52a42bab2ceeffafd45596f73 # missing tag for 1.1.3
+pkgdesc='Python frontend for solid modelling that compiles to OpenSCAD'
+arch=('any')
+url='https://github.com/SolidCode/SolidPython'
+license=('LGPL')
+depends=('python-euclid3' 'python-pypng' 'python-prettytable')
+makedepends=('python-build' 'python-installer' 'python-poetry' 'python-setuptools-scm' 'python-wheel')
+checkdepends=('python-pytest-runner')
+source=("https://github.com/SolidCode/SolidPython/archive/$_commit.tar.gz")
+sha512sums=('d0f701e9508721e3f7f5a2b65dfe5692cac425374f3b0136a5792c5fa93ba7c3295288149cc07ad9c902df7b973e1c80f1023d44ec6919c33f52590a15573f6d')
+
+prepare() {
+  cd $_pkgname-*
+
+  sed -i -e '/tox/d' -e 's|setuptools>=.*|setuptools\",|' pyproject.toml
+}
+
+build() {
+  cd $_pkgname-*
+
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  cd $_pkgname-*
+
+  PYTHONPATH=$(pwd) solid/test/run_all_tests.sh
+}
+
+package() {
+  cd $_pkgname-*
+
+  python -m installer --destdir="$pkgdir" dist/*.whl
+}



More information about the arch-commits mailing list