Date: Wednesday, November 23, 2022 @ 22:35:50
Author: polyzen
Revision: 1352074
archrelease: copy trunk to community-any
Added:
python-icalendar/repos/community-any/PKGBUILD
(from rev 1352073, python-icalendar/trunk/PKGBUILD)
Deleted:
python-icalendar/repos/community-any/PKGBUILD
----------+
PKGBUILD | 84 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 42 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-11-23 22:35:31 UTC (rev 1352073)
+++ PKGBUILD 2022-11-23 22:35:50 UTC (rev 1352074)
@@ -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.2
-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-hypothesis python-pytest)
-source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
-sha256sums=('edc635fd9334102d409f4571fb953ef0f84ce01dd15ff83cac6afafe89c8e56a')
-b2sums=('2e442c8282d764d1985031ef47259094028ec4b86abd03fb226b5ff9ccf7db67ba583df042589e4585d5379cc6675fe1d08141a8129979a43485e51841bfd524')
-
-build() {
- cd $_name-$pkgver
- python -m build --wheel --skip-dependency-check --no-isolation
-}
-
-check() {
- cd $_name-$pkgver
- pytest -v src/$_name/tests
-}
-
-package() {
- local site_packages=$(python -c "import site;
print(site.getsitepackages()[0])")
-
- cd $_name-$pkgver
- python -m installer --destdir="$pkgdir" dist/*.whl
- install -vDm 644 {CHANGES,CONTRIBUTING,README}.rst -t
"$pkgdir/usr/share/doc/$pkgname/"
-
- 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-any/PKGBUILD (from rev 1352073,
python-icalendar/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-11-23 22:35:50 UTC (rev 1352074)
@@ -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.3
+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-hypothesis python-pytest)
+source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
+sha256sums=('ca60810598681cb239fc3190202e01a3305e4f0389576273892dda31249f25e4')
+b2sums=('4c98880f661c5cd8025e7e281dbd392ff9333c3a4c3850d7826cbbb15401d0916e24c1478ac3098c58709a065f3de21b7d8fea56ad7df40aec06b989a77deac5')
+
+build() {
+ cd $_name-$pkgver
+ python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+ cd $_name-$pkgver
+ pytest -v src/$_name/tests
+}
+
+package() {
+ local site_packages=$(python -c "import site;
print(site.getsitepackages()[0])")
+
+ cd $_name-$pkgver
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -vDm 644 {CHANGES,CONTRIBUTING,README}.rst -t
"$pkgdir/usr/share/doc/$pkgname/"
+
+ 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/"
+}