Date: Friday, May 12, 2023 @ 03:05:38
  Author: grawlinson
Revision: 1460049

archrelease: copy trunk to community-any

Added:
  python-dunamai/repos/community-any/PKGBUILD
    (from rev 1460048, python-dunamai/trunk/PKGBUILD)
Deleted:
  python-dunamai/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  128 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 64 insertions(+), 64 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-05-12 03:04:36 UTC (rev 1460048)
+++ PKGBUILD    2023-05-12 03:05:38 UTC (rev 1460049)
@@ -1,64 +0,0 @@
-# Maintainer: George Rawlinson <[email protected]>
-
-pkgname=python-dunamai
-pkgver=1.15.0
-pkgrel=2
-pkgdesc='A library for producing dynamic version strings, derived from VCS 
tags'
-arch=('any')
-url='https://github.com/mtkennerly/dunamai'
-license=('MIT')
-depends=(
-  'python'
-  'python-packaging'
-)
-makedepends=(
-  'git'
-  'python-build'
-  'python-installer'
-  'python-poetry-core'
-)
-checkdepends=('python-pytest' 'python-setuptools')
-_commit='2f5230d7a5abfea7900b18dc6c4cc9bb4ba80b2a'
-source=("$pkgname::git+$url#commit=$_commit")
-b2sums=('SKIP')
-
-pkgver() {
-  cd "$pkgname"
-
-  git describe --tags | sed 's/^v//'
-}
-
-build() {
-  cd "$pkgname"
-
-  python -m build --wheel --no-isolation
-}
-
-check() {
-  cd "$pkgname"
-
-  # temporary install so that:
-  # * pkg_resources can pick up the package
-  # * the required binary can be added to $PATH
-  python -m installer --destdir="$(pwd)/tmp" dist/*.whl
-  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
-  export PATH="$(pwd)/tmp/usr/bin:$PATH"
-  export PYTHONPATH="$(pwd)/tmp/$site_packages"
-
-  # run tests, skipping annoying ones that require messing with global git 
config
-  pytest -v \
-    --deselect 
tests/integration/test_dunamai.py::test__version__from_git__with_annotated_tags 
\
-    --deselect 
tests/integration/test_dunamai.py::test__version__from_git__with_lightweight_tags
 \
-    --deselect 
tests/integration/test_dunamai.py::test__version__from_git__with_mixed_tags \
-    --deselect 
tests/integration/test_dunamai.py::test__version__from_git__with_nonchronological_commits
 \
-    --deselect 
tests/integration/test_dunamai.py::test__version__from_git__gitflow
-}
-
-package() {
-  cd "$pkgname"
-
-  python -m installer --destdir="$pkgdir" dist/*.whl
-
-  # license
-  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
-}

Copied: python-dunamai/repos/community-any/PKGBUILD (from rev 1460048, 
python-dunamai/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-05-12 03:05:38 UTC (rev 1460049)
@@ -0,0 +1,64 @@
+# Maintainer: George Rawlinson <[email protected]>
+
+pkgname=python-dunamai
+pkgver=1.16.0
+pkgrel=1
+pkgdesc='A library for producing dynamic version strings, derived from VCS 
tags'
+arch=('any')
+url='https://github.com/mtkennerly/dunamai'
+license=('MIT')
+depends=(
+  'python'
+  'python-packaging'
+)
+makedepends=(
+  'git'
+  'python-build'
+  'python-installer'
+  'python-poetry-core'
+)
+checkdepends=('python-pytest' 'python-setuptools')
+_commit='fe69436133d0ea2097a9fed1dbb31ec96263cf83'
+source=("$pkgname::git+$url#commit=$_commit")
+b2sums=('SKIP')
+
+pkgver() {
+  cd "$pkgname"
+
+  git describe --tags | sed 's/^v//'
+}
+
+build() {
+  cd "$pkgname"
+
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  cd "$pkgname"
+
+  # temporary install so that:
+  # * pkg_resources can pick up the package
+  # * the required binary can be added to $PATH
+  python -m installer --destdir="$(pwd)/tmp" dist/*.whl
+  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  export PATH="$(pwd)/tmp/usr/bin:$PATH"
+  export PYTHONPATH="$(pwd)/tmp/$site_packages"
+
+  # run tests, skipping annoying ones that require messing with global git 
config
+  pytest -v \
+    --deselect 
tests/integration/test_dunamai.py::test__version__from_git__with_annotated_tags 
\
+    --deselect 
tests/integration/test_dunamai.py::test__version__from_git__with_lightweight_tags
 \
+    --deselect 
tests/integration/test_dunamai.py::test__version__from_git__with_mixed_tags \
+    --deselect 
tests/integration/test_dunamai.py::test__version__from_git__with_nonchronological_commits
 \
+    --deselect 
tests/integration/test_dunamai.py::test__version__from_git__gitflow
+}
+
+package() {
+  cd "$pkgname"
+
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  # license
+  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+}

Reply via email to