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

Felix Yan fyan at archlinux.org
Thu Nov 5 10:54:10 UTC 2015


    Date: Thursday, November 5, 2015 @ 11:54:09
  Author: fyan
Revision: 146028

archrelease: copy trunk to community-any

Added:
  python-w3lib/repos/community-any/PKGBUILD
    (from rev 146027, python-w3lib/trunk/PKGBUILD)
Deleted:
  python-w3lib/repos/community-any/LICENSE
  python-w3lib/repos/community-any/PKGBUILD

----------+
 LICENSE  |   27 -----------------
 PKGBUILD |   92 +++++++++++++++++++++++++++++--------------------------------
 2 files changed, 44 insertions(+), 75 deletions(-)

Deleted: LICENSE
===================================================================
--- LICENSE	2015-11-05 10:53:57 UTC (rev 146027)
+++ LICENSE	2015-11-05 10:54:09 UTC (rev 146028)
@@ -1,27 +0,0 @@
-Copyright (c) w3lib and Scrapy developers.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-    1. Redistributions of source code must retain the above copyright notice, 
-       this list of conditions and the following disclaimer.
-    
-    2. Redistributions in binary form must reproduce the above copyright 
-       notice, this list of conditions and the following disclaimer in the
-       documentation and/or other materials provided with the distribution.
-
-    3. Neither the name of Scrapy nor the names of its contributors may be used
-       to endorse or promote products derived from this software without
-       specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
-ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
-ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
-ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2015-11-05 10:53:57 UTC (rev 146027)
+++ PKGBUILD	2015-11-05 10:54:09 UTC (rev 146028)
@@ -1,48 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Bence Balint <balintbence1337 at gmail.com>
-
-pkgbase=python-w3lib
-pkgname=('python-w3lib' 'python2-w3lib')
-pkgver=1.12.0
-pkgrel=2
-pkgdesc="Library of web-related functions"
-arch=('any')
-license=('BSD')
-url="http://w3lib.readthedocs.org"
-makedepends=('python-setuptools' 'python2-setuptools' 'python-six' 'python2-six')
-# checkdepends=('python-pytest' 'python2-pytest')
-source=("https://pypi.python.org/packages/source/w/w3lib/w3lib-${pkgver}.tar.gz"
-        LICENSE)
-md5sums=('c2545617229b3fc72d59afed85b18035'
-         '8a9dbf92a1904187a362d3fe098d4a1f')
-
-prepare() {
-  cp -a w3lib-$pkgver{,-py2}
-}
-
-check() {
-  # Tests not included
-
-  cd "$srcdir/w3lib-${pkgver}"
-  # py.test
-
-  cd "$srcdir/w3lib-${pkgver}-py2"
-  # py.test2
-}
-
-package_python-w3lib() {
-  depends=('python-six')
-
-  cd "${srcdir}/w3lib-${pkgver}"
-  python setup.py install --root="${pkgdir}" --optimize=1
-  install -D -m644 ../LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-package_python2-w3lib() {
-  depends=('python2-six')
-
-  cd "${srcdir}/w3lib-${pkgver}-py2"
-  python2 setup.py install --root="${pkgdir}" --optimize=1
-  install -D -m644 ../LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}

Copied: python-w3lib/repos/community-any/PKGBUILD (from rev 146027, python-w3lib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-11-05 10:54:09 UTC (rev 146028)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Bence Balint <balintbence1337 at gmail.com>
+
+pkgbase=python-w3lib
+pkgname=('python-w3lib' 'python2-w3lib')
+pkgver=1.13.0
+pkgrel=1
+pkgdesc="Library of web-related functions"
+arch=('any')
+license=('BSD')
+url="http://w3lib.readthedocs.org"
+makedepends=('python-setuptools' 'python2-setuptools' 'python-six' 'python2-six' 'git')
+checkdepends=('python-pytest' 'python2-pytest')
+source=("git+https://github.com/scrapy/w3lib.git#tag=v$pkgver")
+md5sums=('SKIP')
+
+prepare() {
+  cp -a w3lib{,-py2}
+}
+
+check() {
+  cd "$srcdir/w3lib"
+  py.test
+
+  cd "$srcdir/w3lib-py2"
+  py.test2
+}
+
+package_python-w3lib() {
+  depends=('python-six')
+
+  cd "${srcdir}/w3lib"
+  python setup.py install --root="${pkgdir}" --optimize=1
+  install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_python2-w3lib() {
+  depends=('python2-six')
+
+  cd "${srcdir}/w3lib-py2"
+  python2 setup.py install --root="${pkgdir}" --optimize=1
+  install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}



More information about the arch-commits mailing list