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

Felix Yan felixonmars at archlinux.org
Tue Jul 5 05:56:30 UTC 2016


    Date: Tuesday, July 5, 2016 @ 05:56:30
  Author: felixonmars
Revision: 182259

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   92 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 50 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-07-05 05:56:27 UTC (rev 182258)
+++ PKGBUILD	2016-07-05 05:56:30 UTC (rev 182259)
@@ -1,42 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at gmail.com>
-
-pkgbase=python-update_checker
-pkgname=('python-update_checker' 'python2-update_checker')
-pkgver=0.11
-pkgrel=2
-pkgdesc="A python module that will check for package updates"
-arch=('any')
-license=('BSD')
-url='https://github.com/bboe/update_checker'
-makedepends=('python-setuptools' 'python2-setuptools' 'python-requests' 'python2-requests')
-source=("https://pypi.python.org/packages/source/u/update_checker/update_checker-${pkgver}.tar.gz")
-md5sums=('1daa54bac316be6624d7ee77373144bb')
-
-prepare() {
-  cp -a update_checker-$pkgver{,-py2}
-}
-
-check() {
-  cd "$srcdir/update_checker-${pkgver}"
-  python setup.py test
-
-  cd "$srcdir/update_checker-${pkgver}-py2"
-  python2 setup.py test
-}
-
-package_python-update_checker() {
-  depends=('python-requests')
-
-  cd "${srcdir}/update_checker-${pkgver}"
-  python setup.py install --root="${pkgdir}" --optimize=1
-  install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
-}
-
-package_python2-update_checker() {
-  depends=('python2-requests')
-
-  cd "${srcdir}/update_checker-${pkgver}-py2"
-  python2 setup.py install --root="${pkgdir}" --optimize=1
-  install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
-}

Copied: python-update_checker/repos/community-any/PKGBUILD (from rev 182257, python-update_checker/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-07-05 05:56:30 UTC (rev 182259)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+
+pkgbase=python-update_checker
+pkgname=('python-update_checker' 'python2-update_checker')
+pkgver=0.12
+pkgrel=1
+pkgdesc="A python module that will check for package updates"
+arch=('any')
+license=('BSD')
+url='https://github.com/bboe/update_checker'
+makedepends=('python-setuptools' 'python2-setuptools' 'python-requests' 'python2-requests')
+source=("https://pypi.io/packages/source/u/update_checker/update_checker-$pkgver.tar.gz")
+md5sums=('7d28258ef9db4ca7123c44c80740aaf1')
+
+prepare() {
+  cp -a update_checker-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir/update_checker-$pkgver"
+  python setup.py build
+
+  cd "$srcdir/update_checker-$pkgver-py2"
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir/update_checker-$pkgver"
+  python setup.py test
+
+  cd "$srcdir/update_checker-$pkgver-py2"
+  python2 setup.py test
+}
+
+package_python-update_checker() {
+  depends=('python-requests')
+
+  cd update_checker-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}
+
+package_python2-update_checker() {
+  depends=('python2-requests')
+
+  cd update_checker-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}



More information about the arch-commits mailing list