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

Felix Yan felixonmars at archlinux.org
Wed Aug 5 18:20:30 UTC 2020


    Date: Wednesday, August 5, 2020 @ 18:20:30
  Author: felixonmars
Revision: 670291

archrelease: copy trunk to community-any

Added:
  python-update-checker/repos/community-any/PKGBUILD
    (from rev 670290, python-update-checker/trunk/PKGBUILD)
Deleted:
  python-update-checker/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   65 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 33 insertions(+), 32 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-05 18:20:18 UTC (rev 670290)
+++ PKGBUILD	2020-08-05 18:20:30 UTC (rev 670291)
@@ -1,32 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-update-checker
-pkgver=0.17
-pkgrel=1
-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")
-sha512sums=('22498dccd3881323e194d8ab04d3cbac3c76a43d1e334cb57c653db3e1ccd5815004b7f3bf2309816466a8c19bef9c5f89c5145540bd8995e1843e164c0edf9a')
-
-build() {
-  cd "$srcdir"/update_checker-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd "$srcdir"/update_checker-$pkgver
-  python setup.py test || echo "Ignoring test failures as it's the same in upstream CI."
-}
-
-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
-}

Copied: python-update-checker/repos/community-any/PKGBUILD (from rev 670290, python-update-checker/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-08-05 18:20:30 UTC (rev 670291)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-update-checker
+pkgver=0.18.0
+pkgrel=1
+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')
+checkdepends=('python-pytest')
+source=("https://pypi.io/packages/source/u/update_checker/update_checker-$pkgver.tar.gz")
+sha512sums=('ab77b4904f27fc3a4f382dda08cf86fceedc6fa1c6a1f2b1d6ea42688f95ea1fbef4168d69233aec4a489d9ff7f93af60e8f1bf62854aa4d2f54136c540d26f1')
+
+build() {
+  cd update_checker-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd update_checker-$pkgver
+  pytest
+}
+
+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