summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorrazer2021-04-10 10:09:25 +0200
committerrazer2021-04-10 10:09:25 +0200
commiteecfad489efcf670a63f4a151b7087dd1e2f2934 (patch)
treedeb92e815952c9f02272c0f116d6f5493334415b
parent8920b5bec0fb584eb444d8d3d243fca0a41e5b3c (diff)
downloadaur-eecfad489efcf670a63f4a151b7087dd1e2f2934.tar.gz
version bump
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD16
2 files changed, 12 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4fe304a957e..560eefaaf6b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,15 @@
pkgbase = python-pysmb
pkgdesc = An experimental SMB/CIFS library written in Python
- pkgver = 1.2.5
- pkgrel = 1
+ pkgver = 1.2.6
+ pkgrel = 0
url = https://miketeo.net/wp/index.php/projects/pysmb
arch = any
license = ZLIB
depends = python
depends = python-setuptools
depends = python-pyasn1
- source = https://miketeo.net/files/Projects/pysmb/pysmb-1.2.5.zip
- sha1sums = 935aeea64ed0aa69ee1b348837bc4f16e48e9808
+ source = https://pypi.io/packages/source/p/pysmb/pysmb-1.2.6.zip
+ sha256sums = f16e5e796b9dcc1d17ee76f87d53dd471f205fa19b4045eeda5bc7558a57d579
pkgname = python-pysmb
diff --git a/PKGBUILD b/PKGBUILD
index dcbac209ac5..fa2ae9dc891 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,20 +1,20 @@
-# Maintainer: Florian Bruhin (The Compiler) <archlinux.org@the-compiler.org>
+# Maintainer: Razer <razer[AT]neuf[DOT]fr>
pkgname=python-pysmb
-pkgver=1.2.5
-pkgrel=1
+_pypi_pkgname=pysmb
+pkgver=1.2.6
+pkgrel=0
pkgdesc="An experimental SMB/CIFS library written in Python"
arch=(any)
url="https://miketeo.net/wp/index.php/projects/pysmb"
license=('ZLIB')
depends=('python' 'python-setuptools' 'python-pyasn1')
-source=("https://miketeo.net/files/Projects/pysmb/pysmb-${pkgver}.zip")
-sha1sums=('935aeea64ed0aa69ee1b348837bc4f16e48e9808')
+source=("https://pypi.io/packages/source/p/${_pypi_pkgname}/${_pypi_pkgname}-${pkgver}.zip")
+sha256sums=('f16e5e796b9dcc1d17ee76f87d53dd471f205fa19b4045eeda5bc7558a57d579')
package() {
- cd pysmb-$pkgver
- python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-
+ cd "${srcdir}/${_pypi_pkgname}-${pkgver}"
+ python setup.py install --root="${pkgdir}" -O1
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}