Date: Saturday, October 29, 2022 @ 21:00:15
  Author: grawlinson
Revision: 1339343

upgpkg: python-pgpy; FS#76281

Modified:
  python-pgpy/trunk/PKGBUILD

----------+
 PKGBUILD |   18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-10-29 20:53:18 UTC (rev 1339342)
+++ PKGBUILD    2022-10-29 21:00:15 UTC (rev 1339343)
@@ -3,11 +3,11 @@
 
 pkgname=python-pgpy
 pkgver=0.5.4
-pkgrel=2
-pkgdesc="Pretty Good Privacy for Python"
+pkgrel=3
+pkgdesc='Pretty Good Privacy for Python'
 arch=('any')
 license=('BSD')
-url="https://github.com/SecurityInnovation/PGPy";
+url='https://github.com/SecurityInnovation/PGPy'
 depends=(
   'python'
   'python-cryptography'
@@ -23,8 +23,12 @@
   'python-pytest-order'
 )
 _commit='345f4b8d74f4123b97198e10a383f485f80946d8'
-source=("$pkgname::git+$url.git#commit=$_commit")
-b2sums=('SKIP')
+source=(
+  "$pkgname::git+$url.git#commit=$_commit"
+  'idea-deprecation.patch'
+)
+b2sums=('SKIP'
+        
'55917c5f5e17aeea00c879e9c1329a5e28add956e87fb4e6159119fa7a2a4793f788851cbe716258acf34c9ffd6524f44273fe599329354a22b990ddc768dbf2')
 
 pkgver() {
   cd "$pkgname"
@@ -40,6 +44,10 @@
 
   # https://github.com/SecurityInnovation/PGPy/pull/373
   git cherry-pick --no-commit e2f427ea5c0347fb5995ed2a9bc00f780c212c70
+
+  # https://github.com/SecurityInnovation/PGPy/pull/403
+  git cherry-pick --no-commit d84597eb8417a482433ff51dc6b13060d4b2e686
+  patch -p1 -i "$srcdir/idea-deprecation.patch"
 }
 
 build() {

Reply via email to