Date: Friday, April 14, 2023 @ 01:53:54
Author: polyzen
Revision: 1445973
archrelease: copy trunk to community-any
Added:
python-icalendar/repos/community-any/PKGBUILD
(from rev 1445972, python-icalendar/trunk/PKGBUILD)
Deleted:
python-icalendar/repos/community-any/PKGBUILD
----------+
PKGBUILD | 84 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 42 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-14 01:53:28 UTC (rev 1445972)
+++ PKGBUILD 2023-04-14 01:53:54 UTC (rev 1445973)
@@ -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.4
-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=('f0aa86d6f5bc110ed3b91e96c48c70351d7a09fbed25366f673dc0b799c83975')
-b2sums=('5bb618f8abfa8c96cdf45b0fd85f97ecfbe99361fb2eda08fe6ba43da1d01642e116218bc01353a745f6dc401278887d5ffc616fcf666691360174459c896362')
-
-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 1445972,
python-icalendar/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-04-14 01:53:54 UTC (rev 1445973)
@@ -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.5
+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=('ee76771d4eccebae3683beeb9c24c24feb2f8cceade72b92e4437f0144f81584')
+b2sums=('20887b535f595ab222f3aca8ac396a71b53975816663693f89277a03be41885780d0b15269cd5955e00eeda0867db46781ea2300f542bca1a18687d50e025989')
+
+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/"
+}