[arch-commits] Commit in pysmbc/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Jelle van der Waa jelle at archlinux.org
Fri Jun 28 07:32:24 UTC 2019


    Date: Friday, June 28, 2019 @ 07:32:24
  Author: jelle
Revision: 356999

archrelease: copy trunk to extra-x86_64

Added:
  pysmbc/repos/extra-x86_64/PKGBUILD
    (from rev 356998, pysmbc/trunk/PKGBUILD)
Deleted:
  pysmbc/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   68 +++++++++++++++++++++++--------------------------------------
 1 file changed, 26 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-28 07:32:14 UTC (rev 356998)
+++ PKGBUILD	2019-06-28 07:32:24 UTC (rev 356999)
@@ -1,42 +0,0 @@
-# $Id$
-# Maintainer:
-
-pkgbase=pysmbc
-pkgname=('python2-pysmbc' 'python-pysmbc')
-pkgver=1.0.15.8
-pkgrel=2
-arch=('x86_64')
-url="http://pypi.python.org/pypi/pysmbc/"
-license=('GPL')
-makedepends=('python2' 'python' 'smbclient')
-# validpgpkeys=('228521116D3438163C2EA5B916BED1016069BE55')  # Tsukasa Hamano, revoked
-source=(https://pypi.io/packages/source/p/${pkgbase}/${pkgbase}-${pkgver}.tar.bz2)
-md5sums=('56ea1ddc2451d6c773daef37ad1807cd')
-
-prepare() {
-  cp -r ${pkgbase}-${pkgver} ${pkgbase}-${pkgver}-python2
-  sed -i 's|/usr/bin/python|/usr/bin/python2|' ${pkgbase}-${pkgver}-python2/smbc/xattr.py
-}
-
-build(){
-  cd ${pkgbase}-${pkgver}
-  python setup.py build
-  cd "${srcdir}"/${pkgbase}-${pkgver}-python2
-  python2 setup.py build
-}
-
-package_python-pysmbc() {
-  pkgdesc="Python 3 bindings for libsmbclient"
-  depends=('python' 'smbclient')
-
-  cd ${pkgbase}-${pkgver}
-  python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-pysmbc() {
-  pkgdesc="Python 2 bindings for libsmbclient"
-  depends=('python2' 'smbclient')
-
-  cd ${pkgbase}-${pkgver}-python2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-}

Copied: pysmbc/repos/extra-x86_64/PKGBUILD (from rev 356998, pysmbc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-06-28 07:32:24 UTC (rev 356999)
@@ -0,0 +1,26 @@
+# Maintainer:
+
+pkgbase=pysmbc
+pkgname=('python-pysmbc')
+pkgver=1.0.16
+pkgrel=2
+arch=('x86_64')
+url="http://pypi.python.org/pypi/pysmbc/"
+license=('GPL')
+makedepends=('python2' 'python' 'smbclient' 'python-setuptools')
+# validpgpkeys=('228521116D3438163C2EA5B916BED1016069BE55')  # Tsukasa Hamano, revoked
+source=(https://pypi.io/packages/source/p/${pkgbase}/${pkgbase}-${pkgver}.tar.bz2)
+sha512sums=('4df1733fb6ad1499dc7b5385edb8acdeea753e7d749a5e01248eb9b7284418f498346ed475774003dcf6f7b30083935cfbe3cc5ab9dcc4da15c6d924f6e68197')
+
+build(){
+  cd ${pkgbase}-${pkgver}
+  python setup.py build
+}
+
+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