[arch-commits] Commit in python-solidpython/repos/community-any (PKGBUILD PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Thu Aug 27 19:39:01 UTC 2020
Date: Thursday, August 27, 2020 @ 19:39:01
Author: ffy00
Revision: 689946
archrelease: copy trunk to community-any
Added:
python-solidpython/repos/community-any/PKGBUILD
(from rev 689945, python-solidpython/trunk/PKGBUILD)
Deleted:
python-solidpython/repos/community-any/PKGBUILD
----------+
PKGBUILD | 82 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 41 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-08-27 19:38:53 UTC (rev 689945)
+++ PKGBUILD 2020-08-27 19:39:01 UTC (rev 689946)
@@ -1,41 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-
-_pkgname=SolidPython
-pkgname=python-solidpython
-pkgver=1.0.1
-pkgrel=1
-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=('4b2c9193be5389b12759f94fd9aa448dfa96b860fd182e6b17bb9106c83bdff1627a858eeaa46fcfd30b41c418f3986adc9d06cd5bbf2ecf18e31a44abce0816')
-
-prepare() {
- cd $_pkgname-$pkgver
-
- sed -i '/tox/d' 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 689945, python-solidpython/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-08-27 19:39:01 UTC (rev 689946)
@@ -0,0 +1,41 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=SolidPython
+pkgname=python-solidpython
+pkgver=1.0.1
+pkgrel=2
+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=('4b2c9193be5389b12759f94fd9aa448dfa96b860fd182e6b17bb9106c83bdff1627a858eeaa46fcfd30b41c418f3986adc9d06cd5bbf2ecf18e31a44abce0816')
+
+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
+}
+
More information about the arch-commits
mailing list