[arch-commits] Commit in python-vobject/repos/community-any (PKGBUILD PKGBUILD)
Daniel M. Capella
polyzen at gemini.archlinux.org
Tue Sep 6 21:39:00 UTC 2022
Date: Tuesday, September 6, 2022 @ 21:39:00
Author: polyzen
Revision: 1295101
archrelease: copy trunk to community-any
Added:
python-vobject/repos/community-any/PKGBUILD
(from rev 1295100, python-vobject/trunk/PKGBUILD)
Deleted:
python-vobject/repos/community-any/PKGBUILD
----------+
PKGBUILD | 72 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 35 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-09-06 21:38:40 UTC (rev 1295100)
+++ PKGBUILD 2022-09-06 21:39:00 UTC (rev 1295101)
@@ -1,37 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-# Contributor: Carsten Feuls <archlinux at carstenfeuls.de>
-
-_name=vobject
-pkgname=python-vobject
-pkgver=0.9.6.1
-pkgrel=9
-pkgdesc='Module for parsing and generating vCard and vCalendar files'
-url="https://eventable.github.io/vobject/"
-license=('Apache')
-arch=('any')
-depends=('python-dateutil')
-makedepends=('python-setuptools')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha256sums=('96512aec74b90abb71f6b53898dd7fe47300cc940104c4f79148f0671f790101')
-b2sums=('74f9a7dc8058bb792492b1ac44a0310f58c603e677aedda35be0d8e94743e6e1e001a4ae888625f314f706891b7a31db77efa4c268482bbaf44ca37fff236cd6')
-
-build() {
- cd "${_name}-${pkgver}"
- python setup.py build
-}
-
-check() {
- cd "${_name}-${pkgver}"
- python tests.py
-}
-
-package() {
- cd "${_name}-${pkgver}"
- python setup.py install --skip-build \
- --optimize=1 \
- --prefix=/usr \
- --root="${pkgdir}"
- install -vDm 644 {ACKNOWLEDGEMENTS.txt,README.md} \
- -t "${pkgdir}/usr/share/${pkgname}"
-}
Copied: python-vobject/repos/community-any/PKGBUILD (from rev 1295100, python-vobject/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-09-06 21:39:00 UTC (rev 1295101)
@@ -0,0 +1,35 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+# Contributor: Carsten Feuls <archlinux at carstenfeuls.de>
+
+_name=vobject
+pkgname=python-vobject
+pkgver=0.9.6.1
+pkgrel=10
+pkgdesc='Module for parsing and generating vCard and vCalendar files'
+url="https://eventable.github.io/vobject/"
+license=('Apache')
+arch=('any')
+depends=('python-dateutil')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha256sums=('96512aec74b90abb71f6b53898dd7fe47300cc940104c4f79148f0671f790101')
+b2sums=('74f9a7dc8058bb792492b1ac44a0310f58c603e677aedda35be0d8e94743e6e1e001a4ae888625f314f706891b7a31db77efa4c268482bbaf44ca37fff236cd6')
+
+build() {
+ cd "${_name}-${pkgver}"
+ python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+ cd "${_name}-${pkgver}"
+ python tests.py
+}
+
+package() {
+ cd "${_name}-${pkgver}"
+ python -m installer --destdir="${pkgdir}" dist/*.whl
+ install -vDm 644 {ACKNOWLEDGEMENTS.txt,README.md} \
+ -t "${pkgdir}/usr/share/${pkgname}"
+}
More information about the arch-commits
mailing list