[arch-commits] Commit in python-flask-paranoid/trunk (2 files)
Antonio Rojas
arojas at gemini.archlinux.org
Tue Jul 19 20:37:31 UTC 2022
Date: Tuesday, July 19, 2022 @ 20:37:31
Author: arojas
Revision: 1254732
upgpkg: python-flask-paranoid 0.3.0-1: Update to 0.3.0
Modified:
python-flask-paranoid/trunk/PKGBUILD
Deleted:
python-flask-paranoid/trunk/no-hyphens-in-cookie-dates.patch
----------------------------------+
PKGBUILD | 18 +++++-------------
no-hyphens-in-cookie-dates.patch | 12 ------------
2 files changed, 5 insertions(+), 25 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-07-19 20:36:58 UTC (rev 1254731)
+++ PKGBUILD 2022-07-19 20:37:31 UTC (rev 1254732)
@@ -2,8 +2,8 @@
_pkgname=flask-paranoid
pkgname=python-flask-paranoid
-pkgver=0.2
-pkgrel=8
+pkgver=0.3.0
+pkgrel=1
pkgdesc='Simple user session protection for Flask applications'
url='https://github.com/miguelgrinberg/flask-paranoid/'
arch=('any')
@@ -11,18 +11,10 @@
depends=('python' 'python-flask')
makedepends=('python-sphinx' 'python-setuptools')
checkdepends=('python-pytest')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/miguelgrinberg/flask-paranoid/archive/v${pkgver}.tar.gz
- no-hyphens-in-cookie-dates.patch)
-sha256sums=('cda72c43fd17e6b782e079942b79ec9b19ac40c06337c871cc1dfedbe49297d3'
- '2a2f746a795b442b2894af1754fc7db18fb90594099df0af169d190aafb0f7b1')
-sha512sums=('0d642999fa4d5b795c3dcecc586fc1600cdfceec4adb38bb87ca8be9825d9ddafabb07d98df573a89e61a44a0abd27cbbd21524237b0e23b337a7d5e32ddfdae'
- '2cbabd825d962a79ce9f53694f4f9223156094d586754a64fd51216a8cf2486b1638f3668e85783ec46de184cf6cd9e2628fc860df3835295792d657bc2d2f19')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/miguelgrinberg/flask-paranoid/archive/v${pkgver}.tar.gz)
+sha256sums=('cab9f54e382707c31eb5ad58e1ce3b371ecd0d5d4f3385f9cf01bd13a2e1d9ec')
+sha512sums=('68e49a79e7e00c3a89bcc0347c41b80634b3f5f64227f4ae44db95a286a57b6101dff8f7aba592b8d325b38effc58744ee15d56bd8be30507b76c5dc836fc112')
-prepare() {
- cd ${_pkgname}-${pkgver}
- patch -Np1 -i ../no-hyphens-in-cookie-dates.patch
-}
-
build() {
cd ${_pkgname}-${pkgver}
python setup.py build
Deleted: no-hyphens-in-cookie-dates.patch
===================================================================
--- no-hyphens-in-cookie-dates.patch 2022-07-19 20:36:58 UTC (rev 1254731)
+++ no-hyphens-in-cookie-dates.patch 2022-07-19 20:37:31 UTC (rev 1254732)
@@ -1,12 +0,0 @@
-diff -upr flask-paranoid-0.2.orig/tests/test_paranoid.py flask-paranoid-0.2/tests/test_paranoid.py
---- flask-paranoid-0.2.orig/tests/test_paranoid.py 2017-11-17 21:44:46.000000000 +0200
-+++ flask-paranoid-0.2/tests/test_paranoid.py 2021-12-02 21:05:34.088953533 +0200
-@@ -7,7 +7,7 @@ from flask_paranoid import Paranoid
-
- class ParanoidTests(unittest.TestCase):
- def _delete_cookie(self, name):
-- return (name + '=; Expires=Thu, 01-Jan-1970 00:00:00 GMT; '
-+ return (name + '=; Expires=Thu, 01 Jan 1970 00:00:00 GMT; '
- 'Max-Age=0; Path=/')
-
- def test_401(self):
More information about the arch-commits
mailing list