[arch-commits] Commit in python-update-checker/repos/community-staging-any (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Sun Nov 10 10:34:51 UTC 2019
Date: Sunday, November 10, 2019 @ 10:34:50
Author: foutrelis
Revision: 525023
archrelease: copy trunk to community-staging-any
Added:
python-update-checker/repos/community-staging-any/PKGBUILD
(from rev 525022, python-update-checker/trunk/PKGBUILD)
Deleted:
python-update-checker/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 87 ++++++++++++++++++++++---------------------------------------
1 file changed, 32 insertions(+), 55 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-11-10 10:34:45 UTC (rev 525022)
+++ PKGBUILD 2019-11-10 10:34:50 UTC (rev 525023)
@@ -1,55 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-update-checker
-pkgname=('python-update-checker' 'python2-update-checker')
-pkgver=0.16
-pkgrel=3
-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=('dcd73326d7e4db4226575cca03d24e42')
-
-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')
- provides=('python-update_checker')
- conflicts=('python-update_checker')
- replaces=('python-update_checker')
-
- 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')
- provides=('python2-update_checker')
- conflicts=('python2-update_checker')
- replaces=('python2-update_checker')
-
- 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
-}
Copied: python-update-checker/repos/community-staging-any/PKGBUILD (from rev 525022, python-update-checker/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-11-10 10:34:50 UTC (rev 525023)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-update-checker
+pkgver=0.16
+pkgrel=3
+pkgdesc="A python module that will check for package updates"
+arch=('any')
+license=('BSD')
+url='https://github.com/bboe/update_checker'
+depends=('python-requests')
+provides=('python-update_checker')
+conflicts=('python-update_checker')
+replaces=('python-update_checker')
+makedepends=('python-setuptools' 'python-requests')
+source=("https://pypi.io/packages/source/u/update_checker/update_checker-$pkgver.tar.gz")
+md5sums=('dcd73326d7e4db4226575cca03d24e42')
+
+build() {
+ cd "$srcdir"/update_checker-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd "$srcdir"/update_checker-$pkgver
+ python setup.py test
+}
+
+package() {
+ cd update_checker-$pkgver
+ python 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