Date: Saturday, May 1, 2021 @ 19:27:40
  Author: kpcyrd
Revision: 926026

upgpkg: python-plumbum 1.7.0-3

Modified:
  python-plumbum/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2021-05-01 19:17:23 UTC (rev 926025)
+++ PKGBUILD    2021-05-01 19:27:40 UTC (rev 926026)
@@ -3,7 +3,7 @@
 pkgname=python-plumbum
 _name=plumbum
 pkgver=1.7.0
-pkgrel=2
+pkgrel=3
 pkgdesc='A small yet feature-rich Python library for shell script-like 
programs, and more'
 url='https://github.com/tomerfiliba/plumbum'
 arch=('any')
@@ -10,12 +10,10 @@
 license=('MIT')
 depends=('python')
 makedepends=('python-setuptools')
-source=(https://github.com/tomerfiliba/${_name}/archive/v${pkgver}/${_name}-${pkgver}.tar.gz)
-sha512sums=('39b97147b9e4d5774e0bf876599e5fbaea904a003f2397a845b8b0623539d08d32fbe1469e99b3c373ebb65a5c083ef896e1088bfa69309106301605db4d9a31')
-b2sums=('7c501937243e143e5aa9a473b09d904f032a977a50c63079fbb5447bcc4d2ef027bec4e5dbc5ce4edfe841d1e35007ff9cc8b0804a9f744fbef0d56888253823')
+source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
+sha512sums=('0a12891278c12bb98b8bbb825448375240ee347eb3ca166b9cbb4da3e083979d947a7bf0a843fd9a0b7c9a13d09f24e988ee877f29420a3f29f40e387eec8826')
+b2sums=('19ae8a37dff38ac3d263d9400e44ac174c46ff8cef92cf45b9ea31d6d344543fba66de3fd0fcd15acc205af5939f11be6c56e6cd9ca39a666f92f18dcd29b9f7')
 
-
-
 build() {
   cd "${_name}-${pkgver}"
   export PYTHONHASHSEED=0
@@ -22,6 +20,11 @@
   python setup.py build
 }
 
+check() {
+  cd "${_name}-${pkgver}"
+  PYTHONPATH=. python -c 'import plumbum'
+}
+
 package() {
   cd "${_name}-${pkgver}"
   python setup.py install -O1 --root="${pkgdir}" --skip-build

Reply via email to