Date: Tuesday, August 10, 2021 @ 11:19:59
  Author: arojas
Revision: 997349

Update to 4.0.31

Modified:
  python-pyodbc/trunk/PKGBUILD

----------+
 PKGBUILD |   22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2021-08-10 11:07:06 UTC (rev 997348)
+++ PKGBUILD    2021-08-10 11:19:59 UTC (rev 997349)
@@ -1,32 +1,32 @@
 # Maintainer: Christian Hesse <m...@eworm.de>
 # Contributor: Robert Knauer <rob...@privatdemail.net>
 
-pkgbase=python-pyodbc
 pkgname=python-pyodbc
 _srcname=pyodbc
-pkgver=4.0.28
-pkgrel=3
+pkgver=4.0.31
+pkgrel=1
 pkgdesc='ODBC module for Python'
 arch=('x86_64')
 url='https://github.com/mkleehammer/pyodbc'
 license=('MIT')
 depends=('python' 'unixodbc')
-source=("${pkgbase}-${pkgver}.tar.gz::https://github.com/mkleehammer/pyodbc/archive/${pkgver}.tar.gz";)
-sha256sums=('c85326833c7041c76b6338dcc3db69eb1ea0a7c500212e14271b29e9a77575b7')
+source=(https://github.com/mkleehammer/pyodbc/archive/$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('3ea585444c13fdf7e9d50651deff1be5d37fdb9d46a6c885e798baf0ee0165dc')
 
 prepare() {
-       echo "Version: ${pkgver}.0" > "${srcdir}/${_srcname}-${pkgver}/PKG-INFO"
+  echo "Version: ${pkgver}.0" > ${_srcname}-${pkgver}/PKG-INFO
 }
 
 build() {
-       cd "${srcdir}/${_srcname}-${pkgver}"
+  cd ${_srcname}-${pkgver}
 
-       python setup.py build
+  python setup.py build
 }
 
 package() {
-       cd "${srcdir}/${_srcname}-${pkgver}"
+  cd ${_srcname}-${pkgver}
 
-       python setup.py install --root="${pkgdir}/" --optimize=1
-       install -Dm644 LICENSE.txt 
"${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE.txt
+  python setup.py install --root="${pkgdir}/" --optimize=1
+  install -Dm644 LICENSE.txt 
"${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE.txt
+  rm "$pkgdir"/usr/pyodbc.pyi
 }

Reply via email to