[arch-commits] Commit in python-rpyc/repos/community-any (PKGBUILD PKGBUILD)

Kpcyrd kpcyrd at gemini.archlinux.org
Tue Aug 2 09:24:17 UTC 2022


    Date: Tuesday, August 2, 2022 @ 09:24:17
  Author: kpcyrd
Revision: 1259766

archrelease: copy trunk to community-any

Added:
  python-rpyc/repos/community-any/PKGBUILD
    (from rev 1259765, python-rpyc/trunk/PKGBUILD)
Deleted:
  python-rpyc/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   56 ++++++++++++++++++++++++++++----------------------------
 1 file changed, 28 insertions(+), 28 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-02 09:24:03 UTC (rev 1259765)
+++ PKGBUILD	2022-08-02 09:24:17 UTC (rev 1259766)
@@ -1,28 +0,0 @@
-# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
-
-pkgname=python-rpyc
-_name=rpyc
-pkgver=5.1.0
-pkgrel=1
-pkgdesc='Remote Python Call - A transparent and symmetric RPC library for python'
-url='https://github.com/tomerfiliba-org/rpyc'
-arch=('any')
-license=('MIT')
-depends=('python' 'python-plumbum')
-makedepends=('python-setuptools')
-source=(https://github.com/tomerfiliba-org/${_name}/archive/${pkgver}/${_name}-${pkgver}.tar.gz)
-sha512sums=('e9783392f423abca6b488dff5be36dae066980004bd221ca5a1c451f0f9dc7e1daf749650106802f9159de619a8d5e2cd6dc90e9a5f49d16f01bbedd59b504cf')
-b2sums=('4be17e5de4b0475cd63b99bf20e55e3221149f974b9efec638e0387d71815a5a2e4ea782578152690e019e7b8a4ece17405eed6626578a9c9e379d0f4b589008')
-
-build() {
-  cd "${_name}-${pkgver}"
-  python setup.py build
-}
-
-package() {
-  cd "${_name}-${pkgver}"
-  python setup.py install -O1 --root="${pkgdir}" --skip-build
-  install -D LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-rpyc/repos/community-any/PKGBUILD (from rev 1259765, python-rpyc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-08-02 09:24:17 UTC (rev 1259766)
@@ -0,0 +1,28 @@
+# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
+
+pkgname=python-rpyc
+_name=rpyc
+pkgver=5.2.1
+pkgrel=1
+pkgdesc='Remote Python Call - A transparent and symmetric RPC library for python'
+url='https://github.com/tomerfiliba-org/rpyc'
+arch=('any')
+license=('MIT')
+depends=('python' 'python-plumbum')
+makedepends=('python-build' 'python-installer' 'python-wheel' 'python-hatchling')
+source=(https://github.com/tomerfiliba-org/${_name}/archive/${pkgver}/${_name}-${pkgver}.tar.gz)
+sha512sums=('a7a3c53bd06f0e54c63d264944df72b530f62d443296d8d4703a7b2743e7ed9120017bdac3ed00096d7b229abb4ee54de177f526b6a7548ecc734eae255b9518')
+b2sums=('0da6272a801c7582d32d82c680d7a7886d46d9615c4bf66cc021e726b5917e784325729a5515c3025255ee62ec760889c2a0ae67758cd49f20117f1469eb5494')
+
+build() {
+  cd "${_name}-${pkgver}"
+  python -m build --wheel --no-isolation
+}
+
+package() {
+  cd "${_name}-${pkgver}"
+  python -m installer --destdir="${pkgdir}" dist/*.whl
+  install -D LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list