[arch-commits] Commit in pysmbc/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Thu Dec 2 23:36:55 UTC 2021
Date: Thursday, December 2, 2021 @ 23:36:55
Author: felixonmars
Revision: 430503
archrelease: copy trunk to staging-x86_64
Added:
pysmbc/repos/staging-x86_64/
pysmbc/repos/staging-x86_64/PKGBUILD
(from rev 430502, pysmbc/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: pysmbc/repos/staging-x86_64/PKGBUILD (from rev 430502, pysmbc/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2021-12-02 23:36:55 UTC (rev 430503)
@@ -0,0 +1,31 @@
+# Maintainer:
+
+pkgbase=pysmbc
+pkgname=('python-pysmbc')
+pkgver=1.0.23
+pkgrel=3
+arch=('x86_64')
+url="http://pypi.python.org/pypi/pysmbc/"
+license=('GPL')
+makedepends=('python' 'smbclient' 'python-setuptools')
+# validpgpkeys=('228521116D3438163C2EA5B916BED1016069BE55') # Tsukasa Hamano, revoked
+source=(https://pypi.io/packages/source/p/${pkgbase}/${pkgbase}-${pkgver}.tar.gz)
+sha512sums=('cfc990440d219ec0b56e158f3fec47e90f7a618cc6f26ab4ae35679fc0803fb8e171e6b1856586f7a33593bb6f58640283118fc34089412a3af1b6a10fa1f5a6')
+
+build(){
+ cd ${pkgbase}-${pkgver}
+ python setup.py build
+}
+
+check() {
+ cd ${pkgbase}-${pkgver}
+ # requires a samba test server
+}
+
+package_python-pysmbc() {
+ pkgdesc="Python 3 bindings for libsmbclient"
+ depends=('python' 'smbclient')
+
+ cd ${pkgbase}-${pkgver}
+ python setup.py install --root="$pkgdir" --optimize=1
+}
More information about the arch-commits
mailing list