Date: Saturday, July 18, 2020 @ 07:57:48
  Author: dvzrv
Revision: 664397

upgpkg: python-pymysql 0.10.0-1: Upgrade to 0.10.0.

Export PYTHONHASHSEED to get reproducible .pyc files.

Modified:
  python-pymysql/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2020-07-18 07:18:32 UTC (rev 664396)
+++ PKGBUILD    2020-07-18 07:57:48 UTC (rev 664397)
@@ -2,8 +2,8 @@
 
 _name=PyMySQL
 pkgname=python-pymysql
-pkgver=0.9.3
-pkgrel=3
+pkgver=0.10.0
+pkgrel=1
 pkgdesc="Pure Python MySQL Client"
 arch=('any')
 url="https://github.com/PyMySQL/PyMySQL/";
@@ -14,7 +14,8 @@
 optdepends=('mariadb: for using a local MariaDB instance'
             'python-cryptography: for cryptography')
 
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz";)
-sha512sums=('2056bc4aca7a600ca50214b399edc6f3068b288c426aecb115db148f645b0ec7e9a1a7134cf67f39d4820ea59a925dc1ce3ed0e383fb5e16e0651e87449824f9')
+sha512sums=('e1186c4beea31cb602a3d2297a28313c0bf4e361a04f7402b76a70feea1d24bf305a4f9ea637be250974983586cb49d82946ab478b531bbb2ca7fe370424e7fc')
+b2sums=('f4a37630f015505d77c678a0353988eef694f859c2b75609815380e3b6f4376db1ed1ff423efdb6db56ddb3858570fe3fbb3914f88b70eb0a258c0ad7c9f5f14')
 
 prepare() {
   mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
@@ -35,11 +36,12 @@
 
 package() {
   cd "$pkgname-$pkgver"
+  export PYTHONHASHSEED=0
   python setup.py install --skip-build \
     --optimize=1 \
     --prefix=/usr \
     --root="${pkgdir}"
-  install -vDm 644 {CHANGELOG,README.rst,example.py} \
+  install -vDm 644 {CHANGELOG.md,README.rst} \
     -t "${pkgdir}/usr/share/doc/${pkgname}"
   install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
 }

Reply via email to