[arch-commits] Commit in pysmbc/repos (8 files)

Felix Yan fyan at nymeria.archlinux.org
Thu Apr 10 15:47:30 UTC 2014


    Date: Thursday, April 10, 2014 @ 17:47:29
  Author: fyan
Revision: 210169

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  pysmbc/repos/extra-i686/
  pysmbc/repos/extra-i686/PKGBUILD
    (from rev 210168, pysmbc/trunk/PKGBUILD)
  pysmbc/repos/extra-x86_64/
  pysmbc/repos/extra-x86_64/PKGBUILD
    (from rev 210168, pysmbc/trunk/PKGBUILD)
Deleted:
  pysmbc/repos/extra-i686/PKGBUILD
  pysmbc/repos/extra-i686/pkg-config.patch
  pysmbc/repos/extra-x86_64/PKGBUILD
  pysmbc/repos/extra-x86_64/pkg-config.patch

-------------------------------+
 /PKGBUILD                     |   58 ++++++++++++++++++++++++++++++++++++++++
 extra-i686/PKGBUILD           |   31 ---------------------
 extra-i686/pkg-config.patch   |   58 ----------------------------------------
 extra-x86_64/PKGBUILD         |   31 ---------------------
 extra-x86_64/pkg-config.patch |   58 ----------------------------------------
 5 files changed, 58 insertions(+), 178 deletions(-)

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2014-04-10 14:52:04 UTC (rev 210162)
+++ extra-i686/PKGBUILD	2014-04-10 15:47:29 UTC (rev 210169)
@@ -1,31 +0,0 @@
-# $Id$
-# Maintainer: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Shane Peelar <lookatyouhacker at gm@il(d0t)c0m>
-
-pkgname=pysmbc
-pkgver=1.0.13
-pkgrel=2
-pkgdesc="Python bindings for libsmbclient"
-arch=('i686' 'x86_64')
-url="http://pypi.python.org/pypi/pysmbc/"
-license=('GPL')
-depends=('python2' 'smbclient')
-source=("http://pypi.python.org/packages/source/p/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
-        'pkg-config.patch')
-md5sums=('019dbb3bc6ee217f7389a2330cda9fe0'
-         '4b1d5498780181cdc9a217894c1cf85c')
-
-prepare() {
-  cd ${pkgname}-${pkgver}
-  patch -p1 -i "${srcdir}"/pkg-config.patch
-}
-
-build(){
-  cd ${pkgname}-${pkgver}
-  python2 setup.py build
-}
-
-package() {
-  cd ${pkgname}-${pkgver}
-  python2 setup.py install --root="$pkgdir" --optimize=1
-}

Copied: pysmbc/repos/extra-i686/PKGBUILD (from rev 210168, pysmbc/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2014-04-10 15:47:29 UTC (rev 210169)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Shane Peelar <lookatyouhacker at gm@il(d0t)c0m>
+
+pkgbase=pysmbc
+pkgname=python2-pysmbc
+_pypiname=pysmbc
+pkgver=1.0.14.1
+pkgrel=2
+pkgdesc="Python bindings for libsmbclient"
+arch=('i686' 'x86_64')
+url="http://pypi.python.org/pypi/pysmbc/"
+license=('GPL')
+depends=('python2' 'smbclient')
+provides=('pysmbc')
+conflicts=('pysmbc')
+replaces=('pysmbc')
+source=("http://pypi.python.org/packages/source/p/${_pypiname}/${_pypiname}-${pkgver}.tar.bz2")
+md5sums=('9299b5576cf838d07a5048ed22a5c1d4')
+
+build(){
+  cd ${_pypiname}-${pkgver}
+  python2 setup.py build
+}
+
+package_python2-pysmbc() {
+  cd ${_pypiname}-${pkgver}
+  python2 setup.py install --root="$pkgdir" --optimize=1
+}

Deleted: extra-i686/pkg-config.patch
===================================================================
--- extra-i686/pkg-config.patch	2014-04-10 14:52:04 UTC (rev 210162)
+++ extra-i686/pkg-config.patch	2014-04-10 15:47:29 UTC (rev 210169)
@@ -1,58 +0,0 @@
-diff -up pysmbc-1.0.13/Makefile.pkg-config pysmbc-1.0.13/Makefile
---- pysmbc-1.0.13/Makefile.pkg-config	2010-08-22 15:59:36.000000000 +0100
-+++ pysmbc-1.0.13/Makefile	2012-11-21 12:44:29.051173967 +0000
-@@ -4,7 +4,7 @@ SDIST_ARGS=--formats=bztar -d.
- 
- smbc.so: force
- 	python setup.py build
--	mv build/lib*/$@ .
-+	mv build/lib*/smbc*.so .
- 
- doc: smbc.so
- 	rm -rf html
-@@ -14,7 +14,7 @@ doczip:	doc
- 	cd html && zip ../smbc-html.zip *
- 
- clean:
--	-rm -rf build smbc.so *.pyc tests/*.pyc *~ tests/*~
-+	-rm -rf build smbc*.so *.pyc tests/*.pyc *~ tests/*~
- 
- dist:
- 	python setup.py sdist $(SDIST_ARGS)
-diff -up pysmbc-1.0.13/setup.py.pkg-config pysmbc-1.0.13/setup.py
---- pysmbc-1.0.13/setup.py.pkg-config	2012-02-15 16:12:44.000000000 +0000
-+++ pysmbc-1.0.13/setup.py	2012-11-21 12:45:05.362285519 +0000
-@@ -1,6 +1,6 @@
- #!/usr/bin/env python
- 
--## Copyright (C) 2002, 2005, 2006, 2007, 2008, 2010, 2011  Red Hat, Inc
-+## Copyright (C) 2002, 2005, 2006, 2007, 2008, 2010, 2011, 2012  Red Hat, Inc
- ## Copyright (C) 2010  Open Source Solution Technology Corporation
- ## Authors:
- ##  Tim Waugh <twaugh at redhat.com>
-@@ -51,6 +51,18 @@ hello
- """
- 
- from distutils.core import setup, Extension
-+import subprocess
-+
-+def pkgconfig_I (pkg):
-+    dirs = []
-+    c = subprocess.Popen (["pkg-config", "--cflags", pkg],
-+                          stdout=subprocess.PIPE)
-+    (stdout, stderr) = c.communicate ()
-+    for p in stdout.decode (encoding='ascii').split ():
-+        if p.startswith ("-I"):
-+            dirs.append (p[2:])
-+    return dirs
-+    
- setup (name="pysmbc",
-        version="1.0.13",
-        description="Python bindings for libsmbclient",
-@@ -74,4 +86,5 @@ setup (name="pysmbc",
-                                "dir.c",
-                                "file.c",
-                                "smbcdirent.c"],
--                              libraries=["smbclient"])])
-+                              libraries=["smbclient"],
-+                              include_dirs=pkgconfig_I("smbclient"))])

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2014-04-10 14:52:04 UTC (rev 210162)
+++ extra-x86_64/PKGBUILD	2014-04-10 15:47:29 UTC (rev 210169)
@@ -1,31 +0,0 @@
-# $Id$
-# Maintainer: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Shane Peelar <lookatyouhacker at gm@il(d0t)c0m>
-
-pkgname=pysmbc
-pkgver=1.0.13
-pkgrel=2
-pkgdesc="Python bindings for libsmbclient"
-arch=('i686' 'x86_64')
-url="http://pypi.python.org/pypi/pysmbc/"
-license=('GPL')
-depends=('python2' 'smbclient')
-source=("http://pypi.python.org/packages/source/p/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
-        'pkg-config.patch')
-md5sums=('019dbb3bc6ee217f7389a2330cda9fe0'
-         '4b1d5498780181cdc9a217894c1cf85c')
-
-prepare() {
-  cd ${pkgname}-${pkgver}
-  patch -p1 -i "${srcdir}"/pkg-config.patch
-}
-
-build(){
-  cd ${pkgname}-${pkgver}
-  python2 setup.py build
-}
-
-package() {
-  cd ${pkgname}-${pkgver}
-  python2 setup.py install --root="$pkgdir" --optimize=1
-}

Copied: pysmbc/repos/extra-x86_64/PKGBUILD (from rev 210168, pysmbc/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2014-04-10 15:47:29 UTC (rev 210169)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Shane Peelar <lookatyouhacker at gm@il(d0t)c0m>
+
+pkgbase=pysmbc
+pkgname=python2-pysmbc
+_pypiname=pysmbc
+pkgver=1.0.14.1
+pkgrel=2
+pkgdesc="Python bindings for libsmbclient"
+arch=('i686' 'x86_64')
+url="http://pypi.python.org/pypi/pysmbc/"
+license=('GPL')
+depends=('python2' 'smbclient')
+provides=('pysmbc')
+conflicts=('pysmbc')
+replaces=('pysmbc')
+source=("http://pypi.python.org/packages/source/p/${_pypiname}/${_pypiname}-${pkgver}.tar.bz2")
+md5sums=('9299b5576cf838d07a5048ed22a5c1d4')
+
+build(){
+  cd ${_pypiname}-${pkgver}
+  python2 setup.py build
+}
+
+package_python2-pysmbc() {
+  cd ${_pypiname}-${pkgver}
+  python2 setup.py install --root="$pkgdir" --optimize=1
+}

Deleted: extra-x86_64/pkg-config.patch
===================================================================
--- extra-x86_64/pkg-config.patch	2014-04-10 14:52:04 UTC (rev 210162)
+++ extra-x86_64/pkg-config.patch	2014-04-10 15:47:29 UTC (rev 210169)
@@ -1,58 +0,0 @@
-diff -up pysmbc-1.0.13/Makefile.pkg-config pysmbc-1.0.13/Makefile
---- pysmbc-1.0.13/Makefile.pkg-config	2010-08-22 15:59:36.000000000 +0100
-+++ pysmbc-1.0.13/Makefile	2012-11-21 12:44:29.051173967 +0000
-@@ -4,7 +4,7 @@ SDIST_ARGS=--formats=bztar -d.
- 
- smbc.so: force
- 	python setup.py build
--	mv build/lib*/$@ .
-+	mv build/lib*/smbc*.so .
- 
- doc: smbc.so
- 	rm -rf html
-@@ -14,7 +14,7 @@ doczip:	doc
- 	cd html && zip ../smbc-html.zip *
- 
- clean:
--	-rm -rf build smbc.so *.pyc tests/*.pyc *~ tests/*~
-+	-rm -rf build smbc*.so *.pyc tests/*.pyc *~ tests/*~
- 
- dist:
- 	python setup.py sdist $(SDIST_ARGS)
-diff -up pysmbc-1.0.13/setup.py.pkg-config pysmbc-1.0.13/setup.py
---- pysmbc-1.0.13/setup.py.pkg-config	2012-02-15 16:12:44.000000000 +0000
-+++ pysmbc-1.0.13/setup.py	2012-11-21 12:45:05.362285519 +0000
-@@ -1,6 +1,6 @@
- #!/usr/bin/env python
- 
--## Copyright (C) 2002, 2005, 2006, 2007, 2008, 2010, 2011  Red Hat, Inc
-+## Copyright (C) 2002, 2005, 2006, 2007, 2008, 2010, 2011, 2012  Red Hat, Inc
- ## Copyright (C) 2010  Open Source Solution Technology Corporation
- ## Authors:
- ##  Tim Waugh <twaugh at redhat.com>
-@@ -51,6 +51,18 @@ hello
- """
- 
- from distutils.core import setup, Extension
-+import subprocess
-+
-+def pkgconfig_I (pkg):
-+    dirs = []
-+    c = subprocess.Popen (["pkg-config", "--cflags", pkg],
-+                          stdout=subprocess.PIPE)
-+    (stdout, stderr) = c.communicate ()
-+    for p in stdout.decode (encoding='ascii').split ():
-+        if p.startswith ("-I"):
-+            dirs.append (p[2:])
-+    return dirs
-+    
- setup (name="pysmbc",
-        version="1.0.13",
-        description="Python bindings for libsmbclient",
-@@ -74,4 +86,5 @@ setup (name="pysmbc",
-                                "dir.c",
-                                "file.c",
-                                "smbcdirent.c"],
--                              libraries=["smbclient"])])
-+                              libraries=["smbclient"],
-+                              include_dirs=pkgconfig_I("smbclient"))])




More information about the arch-commits mailing list