[arch-commits] Commit in python-edalize/repos/community-any (PKGBUILD PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Sat Jul 18 21:33:03 UTC 2020
Date: Saturday, July 18, 2020 @ 21:33:02
Author: ffy00
Revision: 664482
archrelease: copy trunk to community-any
Added:
python-edalize/repos/community-any/PKGBUILD
(from rev 664481, python-edalize/trunk/PKGBUILD)
Deleted:
python-edalize/repos/community-any/PKGBUILD
----------+
PKGBUILD | 90 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 47 insertions(+), 43 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-18 21:32:46 UTC (rev 664481)
+++ PKGBUILD 2020-07-18 21:33:02 UTC (rev 664482)
@@ -1,43 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-
-_pkgname=edalize
-pkgname=python-$_pkgname
-pkgver=0.2.2
-pkgrel=1
-pkgdesc='An abstraction library for interfacing EDA tools'
-arch=('any')
-url='https://github.com/olofk/edalize'
-license=('BSD')
-depends=('python' 'python-jinja')
-makedepends=('python-setuptools-scm')
-checkdepends=('python-pytest')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha512sums=('48b2642ff9a072ec33ed907fd82fa63c33f7e7deeaf442972a2b0fcd10fa05715f189e213a80ef75176d87574c2ad660c5af0df5b90d8245416ae3ed29b44d18')
-
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
-prepare() {
- rm $_pkgname-$pkgver/tests/test_spyglass.py
-}
-
-build() {
- cd $_pkgname-$pkgver
-
- python setup.py build
-}
-
-check() {
- cd $_pkgname-$pkgver
-
- PYTHONPATH=. pytest
-}
-
-package() {
- cd $_pkgname-$pkgver
-
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-
- install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-edalize/repos/community-any/PKGBUILD (from rev 664481, python-edalize/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-07-18 21:33:02 UTC (rev 664482)
@@ -0,0 +1,47 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=edalize
+pkgname=python-$_pkgname
+pkgver=0.2.2
+pkgrel=2
+pkgdesc='An abstraction library for interfacing EDA tools'
+arch=('any')
+url='https://github.com/olofk/edalize'
+license=('BSD')
+depends=('python' 'python-jinja')
+makedepends=('python-setuptools-scm')
+checkdepends=('python-pytest')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('48b2642ff9a072ec33ed907fd82fa63c33f7e7deeaf442972a2b0fcd10fa05715f189e213a80ef75176d87574c2ad660c5af0df5b90d8245416ae3ed29b44d18')
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+
+prepare() {
+ cd $_pkgname-$pkgver
+
+ rm tests/test_spyglass.py
+
+ sed -i '/pytest/d' setup.py
+}
+
+build() {
+ cd $_pkgname-$pkgver
+
+ python setup.py build
+}
+
+check() {
+ cd $_pkgname-$pkgver
+
+ PYTHONPATH=. pytest
+}
+
+package() {
+ cd $_pkgname-$pkgver
+
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+ install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list