Date: Sunday, October 23, 2022 @ 08:55:45
  Author: polyzen
Revision: 1333763

archrelease: copy trunk to community-testing-any

Added:
  python-icalendar/repos/community-testing-any/PKGBUILD
    (from rev 1333762, python-icalendar/trunk/PKGBUILD)
Deleted:
  python-icalendar/repos/community-testing-any/PKGBUILD

----------+
 PKGBUILD |   84 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 42 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-10-23 08:55:26 UTC (rev 1333762)
+++ PKGBUILD    2022-10-23 08:55:45 UTC (rev 1333763)
@@ -1,42 +0,0 @@
-# Maintainer: David Runge <[email protected]>
-# Maintainer: Daniel M. Capella <[email protected]>
-# Contributor: Sirat18 <[email protected]>
-# Contributor: Jonas Heinrich <[email protected]>
-
-_name=icalendar
-pkgname=python-icalendar
-pkgver=5.0.0
-pkgrel=1
-pkgdesc='A parser/generator of iCalendar files (RFC 2445)'
-arch=(any)
-url="https://github.com/collective/icalendar";
-license=(BSD)
-depends=(python-dateutil python-pytz)
-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=('cabfa6b800072318d7a4b415786bdd30129618afa4620ea55b99c656d85ea22d')
-b2sums=('ce0eef07439f150488748b5dbaea45dead18f419304a33ff8a11eb2c00c432ceb3d25cf14b59f13c7aeb18fa3ef137e87306c98bcb5f5d20503c99fe52738151')
-
-build() {
-  cd $_name-$pkgver
-  python -m build --wheel --skip-dependency-check --no-isolation
-}
-
-check() {
-  cd $_name-$pkgver
-  pytest -v src/$_name/tests
-}
-
-package() {
-  cd $_name-$pkgver
-  python -m installer --destdir="${pkgdir}" dist/*.whl
-  install -vDm 644 {CHANGES,CONTRIBUTING,README}.rst -t 
"$pkgdir/usr/share/doc/$pkgname/"
-
-  # Symlink license file
-  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
-  install -d "$pkgdir/usr/share/licenses/$pkgname/"
-  ln -s "$site_packages/$_name-$pkgver.dist-info/LICENSE.rst" 
"$pkgdir/usr/share/licenses/$pkgname/LICENSE.rst"
-
-  rm -frv "$pkgdir/$site_packages/$_name/tests/"
-}

Copied: python-icalendar/repos/community-testing-any/PKGBUILD (from rev 
1333762, python-icalendar/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-10-23 08:55:45 UTC (rev 1333763)
@@ -0,0 +1,42 @@
+# Maintainer: David Runge <[email protected]>
+# Maintainer: Daniel M. Capella <[email protected]>
+# Contributor: Sirat18 <[email protected]>
+# Contributor: Jonas Heinrich <[email protected]>
+
+_name=icalendar
+pkgname=python-icalendar
+pkgver=5.0.1
+pkgrel=1
+pkgdesc='A parser/generator of iCalendar files (RFC 2445)'
+arch=(any)
+url="https://github.com/collective/icalendar";
+license=(BSD)
+depends=(python-dateutil python-pytz)
+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=('35faeae20e58d0fe26e33c04bbfd08b424192d61ae3e1da1d7611ba06ab33570')
+b2sums=('5cc2e17e583caa2f35d5b4723da1975d784bfcbd5620108428cc0d671002620bf0e2fbc72c83440866e3ef31c5e3136781d45dee69ea15be00c42abb6b4d5d22')
+
+build() {
+  cd $_name-$pkgver
+  python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+  cd $_name-$pkgver
+  pytest -v src/$_name/tests
+}
+
+package() {
+  cd $_name-$pkgver
+  python -m installer --destdir="${pkgdir}" dist/*.whl
+  install -vDm 644 {CHANGES,CONTRIBUTING,README}.rst -t 
"$pkgdir/usr/share/doc/$pkgname/"
+
+  # Symlink license file
+  local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+  install -d "$pkgdir/usr/share/licenses/$pkgname/"
+  ln -s "$site_packages/$_name-$pkgver.dist-info/LICENSE.rst" 
"$pkgdir/usr/share/licenses/$pkgname/LICENSE.rst"
+
+  rm -frv "$pkgdir/$site_packages/$_name/tests/"
+}

Reply via email to