Date: Monday, October 3, 2022 @ 22:28:07
Author: dvzrv
Revision: 1320847
archrelease: copy trunk to community-any
Added:
python-pylink-square/repos/community-any/PKGBUILD
(from rev 1320846, python-pylink-square/trunk/PKGBUILD)
Deleted:
python-pylink-square/repos/community-any/PKGBUILD
----------+
PKGBUILD | 73 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 35 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-10-03 22:27:56 UTC (rev 1320846)
+++ PKGBUILD 2022-10-03 22:28:07 UTC (rev 1320847)
@@ -1,38 +0,0 @@
-# Maintainer: David Runge <[email protected]>
-
-_name=pylink-square
-_name_=pylink
-pkgname=python-pylink-square
-pkgver=0.14.2
-pkgrel=1
-pkgdesc="Python interface for the SEGGER J-Link"
-arch=(any)
-url="https://github.com/Square/pylink"
-license=(Apache)
-depends=(python-future python-psutil python-six)
-makedepends=(python-build python-installer python-setuptools python-wheel)
-checkdepends=(python-mock python-pytest)
-conflicts=(pylink)
-provides=(pylink)
-replaces=(pylink)
-# sdist on pypi.org has no tests: https://github.com/square/pylink/issues/119
-#
source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
-source=($_name_-$pkgver.tar.gz::https://github.com/square/pylink/archive/refs/tags/v$pkgver.tar.gz)
-sha512sums=('bb285843753cab0f74bf99c6fe8c18b0123ec7926def04ac5cd8566cbf9c5d91335140c292ca75d6685e12f35060dad55eb48077d66ad16c72ba24237a5c5512')
-b2sums=('d1dae1d08e7bdc187a423d949c4993ea1946c139c4386c9cc14327dc19d67942abf537f4e92af4354f8365d51856e6bf3909dd709487096d84e1d2b200b5fdc5')
-
-build() {
- cd $_name_-$pkgver
- python -m build --wheel --skip-dependency-check --no-isolation
-}
-
-check() {
- cd $_name_-$pkgver
- pytest -v
-}
-
-package() {
- cd $_name_-$pkgver
- python -m installer --destdir="$pkgdir" dist/*.whl
- install -vDm 644 *.md -t "$pkgdir/usr/share/doc/$pkgname"
-}
Copied: python-pylink-square/repos/community-any/PKGBUILD (from rev 1320846,
python-pylink-square/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-10-03 22:28:07 UTC (rev 1320847)
@@ -0,0 +1,35 @@
+# Maintainer: David Runge <[email protected]>
+
+_name=pylink-square
+pkgname=python-pylink-square
+pkgver=0.14.3
+pkgrel=1
+pkgdesc="Python interface for the SEGGER J-Link"
+arch=(any)
+url="https://github.com/Square/pylink"
+license=(Apache)
+depends=(python-future python-psutil python-six)
+makedepends=(python-build python-installer python-setuptools python-wheel)
+checkdepends=(python-mock python-pytest)
+conflicts=(pylink)
+provides=(pylink)
+replaces=(pylink)
+source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
+sha512sums=('30622abc506f3892d283fa6e0cd9709b8cf22564b6139ebb7d0a42abd6b3b37fcbc6e5c99a40de67721ce0852d9d0998682763c0b06c64e6725bf65d1c18d06c')
+b2sums=('c009c46285bf6e1fb774c062a0c897e2b5915c071afb908ba1e297a89d42505b1d11b45af17053f218718ec8230df799b194fb3355e8053956c6346d638a0a34')
+
+build() {
+ cd $_name-$pkgver
+ python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+ cd $_name-$pkgver
+ pytest -v
+}
+
+package() {
+ cd $_name-$pkgver
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -vDm 644 *.md -t "$pkgdir/usr/share/doc/$pkgname"
+}