Date: Monday, February 6, 2023 @ 17:32:16
Author: dvzrv
Revision: 1394738
archrelease: copy trunk to community-any
Added:
python-piccata/repos/community-any/PKGBUILD
(from rev 1394737, python-piccata/trunk/PKGBUILD)
Deleted:
python-piccata/repos/community-any/PKGBUILD
----------+
PKGBUILD | 84 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 42 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-02-06 17:31:55 UTC (rev 1394737)
+++ PKGBUILD 2023-02-06 17:32:16 UTC (rev 1394738)
@@ -1,42 +0,0 @@
-# Maintainer: David Runge <[email protected]>
-
-_name=piccata
-pkgname=python-piccata
-pkgver=2.0.2
-pkgrel=1
-pkgdesc="A simple CoAP (RFC7252) toolkit"
-arch=(any)
-url="https://github.com/NordicSemiconductor/piccata"
-license=(custom)
-depends=(python)
-makedepends=(python-build python-installer python-setuptools python-wheel)
-checkdepends=(python-pytest)
-source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
-sha256sums=('7ea6411777bfd63d62e43086269b4f9ecc9072e6321a729ad02018e054063a32')
-
-build() {
- cd $_name-$pkgver
- python -m build --wheel --no-isolation
-}
-
-check() {
- local site_packages=$(python -c "import site;
print(site.getsitepackages()[0])")
-
- cd $_name-$pkgver
- # install to temporary location, as importlib is used
- python -m installer --destdir=test_dir dist/*.whl
- export PYTHONPATH="test_dir/$site_packages:$PYTHONPATH"
- pytest -vv tests/
-}
-
-package() {
- local site_packages=$(python -c "import site;
print(site.getsitepackages()[0])")
-
- cd $_name-$pkgver
- python -m installer --destdir="$pkgdir" dist/*.whl
-
- # remove (globally namespaced) tests:
https://github.com/NordicSemiconductor/piccata/issues/14
- rm -frv "$pkgdir/$site_packages/tests/"
- install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
- install -vDm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname/"
-}
Copied: python-piccata/repos/community-any/PKGBUILD (from rev 1394737,
python-piccata/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-02-06 17:32:16 UTC (rev 1394738)
@@ -0,0 +1,42 @@
+# Maintainer: David Runge <[email protected]>
+
+_name=piccata
+pkgname=python-piccata
+pkgver=2.0.3
+pkgrel=1
+pkgdesc="A simple CoAP (RFC7252) toolkit"
+arch=(any)
+url="https://github.com/NordicSemiconductor/piccata"
+license=(custom)
+depends=(python)
+makedepends=(python-build python-installer python-setuptools python-wheel)
+checkdepends=(python-pytest)
+source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
+sha256sums=('3f4d3148bf884457064b3d462bd71c69b47600ab1e973c8c2e73bba6668b9900')
+
+build() {
+ cd $_name-$pkgver
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ local site_packages=$(python -c "import site;
print(site.getsitepackages()[0])")
+
+ cd $_name-$pkgver
+ # install to temporary location, as importlib is used
+ python -m installer --destdir=test_dir dist/*.whl
+ export PYTHONPATH="test_dir/$site_packages:$PYTHONPATH"
+ pytest -vv tests/
+}
+
+package() {
+ local site_packages=$(python -c "import site;
print(site.getsitepackages()[0])")
+
+ cd $_name-$pkgver
+ python -m installer --destdir="$pkgdir" dist/*.whl
+
+ # remove (globally namespaced) tests:
https://github.com/NordicSemiconductor/piccata/issues/14
+ rm -frv "$pkgdir/$site_packages/tests/"
+ install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
+ install -vDm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname/"
+}