[arch-commits] Commit in python-update-checker/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Mon Nov 9 16:54:35 UTC 2020


    Date: Monday, November 9, 2020 @ 16:54:35
  Author: foutrelis
Revision: 747686

archrelease: copy trunk to community-staging-any

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

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

Copied: python-update-checker/repos/community-staging-any/PKGBUILD (from rev 747683, python-update-checker/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 16:54:35 UTC (rev 747686)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-update-checker
+pkgver=0.18.0
+pkgrel=2
+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