[arch-commits] Commit in python-dbus-next/repos/community-staging-any (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Thu Dec 2 23:26:52 UTC 2021


    Date: Thursday, December 2, 2021 @ 23:26:52
  Author: felixonmars
Revision: 1063009

archrelease: copy trunk to community-staging-any

Added:
  python-dbus-next/repos/community-staging-any/PKGBUILD
    (from rev 1063007, python-dbus-next/trunk/PKGBUILD)
Deleted:
  python-dbus-next/repos/community-staging-any/PKGBUILD

----------+
 PKGBUILD |   80 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 40 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-02 23:26:51 UTC (rev 1063008)
+++ PKGBUILD	2021-12-02 23:26:52 UTC (rev 1063009)
@@ -1,40 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=dbus_next
-pkgname=python-dbus-next
-pkgver=0.2.3
-pkgrel=2
-pkgdesc="The next great DBus library for Python with asyncio support"
-arch=('any')
-url="https://github.com/altdesktop/python-dbus-next"
-license=('MIT')
-depends=('dbus' 'glib2' 'python')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest' 'python-pytest-asyncio' 'python-pytest-timeout')
-# test files missing in pypi sdist tarball: https://github.com/altdesktop/python-dbus-next/issues/94
-# source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/altdesktop/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz")
-sha512sums=('7836d855c755c8ac6cbbb251ca0cbd2f4df9b573f31b1ea1cab480e47896d36b4cb0d479b2469b0bf0b5c700068361a18874b4a087f73020cdcb4e04a2d7dbe7')
-b2sums=('6acc38a05511b3de7e13893d82dd1ecd55f9a6124b4d859574294602b921ff012776c12ddb02e1be437b258c7bd5120a3a9625fc5b06bbbe02915dcc4c14897b')
-
-build() {
-  cd "$pkgname-$pkgver"
-  python setup.py build
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-  export PYTHONPATH="build:${PYTHONPATH}"
-
-  # tests require a dbus session
-  dbus-run-session -- pytest -v
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  python setup.py install --skip-build \
-                          --optimize=1 \
-                          --root="${pkgdir}"
-  install -vDm 644 {CHANGELOG,README}.md -t "${pkgdir}/usr/share/doc/${pkgname}"
-  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}

Copied: python-dbus-next/repos/community-staging-any/PKGBUILD (from rev 1063007, python-dbus-next/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-02 23:26:52 UTC (rev 1063009)
@@ -0,0 +1,40 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=dbus_next
+pkgname=python-dbus-next
+pkgver=0.2.3
+pkgrel=3
+pkgdesc="The next great DBus library for Python with asyncio support"
+arch=('any')
+url="https://github.com/altdesktop/python-dbus-next"
+license=('MIT')
+depends=('dbus' 'glib2' 'python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-pytest-asyncio' 'python-pytest-timeout')
+# test files missing in pypi sdist tarball: https://github.com/altdesktop/python-dbus-next/issues/94
+# source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/altdesktop/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz")
+sha512sums=('7836d855c755c8ac6cbbb251ca0cbd2f4df9b573f31b1ea1cab480e47896d36b4cb0d479b2469b0bf0b5c700068361a18874b4a087f73020cdcb4e04a2d7dbe7')
+b2sums=('6acc38a05511b3de7e13893d82dd1ecd55f9a6124b4d859574294602b921ff012776c12ddb02e1be437b258c7bd5120a3a9625fc5b06bbbe02915dcc4c14897b')
+
+build() {
+  cd "$pkgname-$pkgver"
+  python setup.py build
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  export PYTHONPATH="build:${PYTHONPATH}"
+
+  # tests require a dbus session
+  dbus-run-session -- pytest -v
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  python setup.py install --skip-build \
+                          --optimize=1 \
+                          --root="${pkgdir}"
+  install -vDm 644 {CHANGELOG,README}.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}



More information about the arch-commits mailing list