Date: Wednesday, December 28, 2022 @ 10:05:44
  Author: dvzrv
Revision: 1369926

archrelease: copy trunk to community-x86_64

Added:
  python-cmsis-pack-manager/repos/community-x86_64/PKGBUILD
    (from rev 1369925, python-cmsis-pack-manager/trunk/PKGBUILD)
Deleted:
  python-cmsis-pack-manager/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   81 +++++++++++++++++++++++++++----------------------------------
 1 file changed, 37 insertions(+), 44 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-12-28 10:05:40 UTC (rev 1369925)
+++ PKGBUILD    2022-12-28 10:05:44 UTC (rev 1369926)
@@ -1,44 +0,0 @@
-# Maintainer: David Runge <[email protected]>
-
-_name=cmsis_pack_manager
-pkgname=python-cmsis-pack-manager
-pkgver=0.5.0
-pkgrel=1
-pkgdesc="A Rust and Python module for handling CMSIS Pack files"
-arch=(x86_64)
-url="https://github.com/pyocd/cmsis-pack-manager";
-license=(Apache)
-depends=(python-appdirs python-cffi python-pyyaml)
-makedepends=(maturin python-installer rust)
-checkdepends=(python-hypothesis python-jinja python-pytest)
-# disable LTO until ring can be built with it: 
https://github.com/briansmith/ring/issues/1444
-options=(!lto debug)
-source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
-sha512sums=('559374162a3dd9d6f457f0fbdce510c5459b76be87f17566c968827470a9b0c9a265e24cd963547fd36e8b8913b8bc94622f3b2bfcc16f1895af37cf8779e2ca')
-b2sums=('ce3112a13433c7d12dbdc6cf27d61f260fbb9e90cc4572409aa8b02728b9ffbe17c378fea40a35c39c7d970b26f975105fe3bd6cd67e92d60fa9d4dff17172ab')
-
-prepare() {
-  cd $_name-$pkgver
-  # python-milksnake is *not* a runtime dependency
-  # https://github.com/pyocd/cmsis-pack-manager/issues/188
-  sed '/milksnake/d' -i setup.cfg
-}
-
-build() {
-  cd $_name-$pkgver
-  maturin build --release --strip
-}
-
-check() {
-  local _site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
-
-  cd $_name-$pkgver
-  python -m installer --destdir=test_dir target/wheels/*.whl
-  export PYTHONPATH="test_dir/$_site_packages:$PYTHONPATH"
-  pytest -vv
-}
-
-package() {
-  cd $_name-$pkgver
-  python -m installer --destdir="$pkgdir" target/wheels/*.whl
-}

Copied: python-cmsis-pack-manager/repos/community-x86_64/PKGBUILD (from rev 
1369925, python-cmsis-pack-manager/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-12-28 10:05:44 UTC (rev 1369926)
@@ -0,0 +1,37 @@
+# Maintainer: David Runge <[email protected]>
+
+_name=cmsis_pack_manager
+pkgname=python-cmsis-pack-manager
+pkgver=0.5.1
+pkgrel=1
+pkgdesc="A Rust and Python module for handling CMSIS Pack files"
+arch=(x86_64)
+url="https://github.com/pyocd/cmsis-pack-manager";
+license=(Apache)
+depends=(python-appdirs python-cffi python-pyyaml)
+makedepends=(maturin python-installer rust)
+checkdepends=(python-hypothesis python-jinja python-pytest)
+# disable LTO until ring can be built with it: 
https://github.com/briansmith/ring/issues/1444
+options=(!lto debug)
+source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
+sha512sums=('08c95b17c8fe21faf0940ea15b69de4fd5d15adfb6ef2c60cf6b086276bd89251eddbda8ad665fcba2e50b35c86fc3fe7224ef0b9efa6cace76eb3432f359f7b')
+b2sums=('e0c0aed4c64e394c56c88f3accbf7e568d39dc3587c598923e2258ad9b18c3bd540547c89bcb283429244863556837f344fc77bbf1383ef3437a134f1f941769')
+
+build() {
+  cd $_name-$pkgver
+  maturin build --release --strip
+}
+
+check() {
+  local _site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+
+  cd $_name-$pkgver
+  python -m installer --destdir=test_dir target/wheels/*.whl
+  export PYTHONPATH="test_dir/$_site_packages:$PYTHONPATH"
+  pytest -vv
+}
+
+package() {
+  cd $_name-$pkgver
+  python -m installer --destdir="$pkgdir" target/wheels/*.whl
+}

Reply via email to