[arch-commits] Commit in python-authheaders/trunk (PKGBUILD)

2020-11-12 Thread Evangelos Foutras via arch-commits
Date: Thursday, November 12, 2020 @ 10:04:42
  Author: foutrelis
Revision: 751380

upgpkg: python-authheaders 0.13.0-3: Python 3.9 rebuild

Modified:
  python-authheaders/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-11-12 10:04:41 UTC (rev 751379)
+++ PKGBUILD2020-11-12 10:04:42 UTC (rev 751380)
@@ -3,7 +3,7 @@
 _name=authheaders
 pkgname=python-authheaders
 pkgver=0.13.0
-pkgrel=2
+pkgrel=3
 pkgdesc="Library for the generation of email authentication headers"
 arch=('any')
 url="https://github.com/ValiMail/authentication-headers;


[arch-commits] Commit in python-authheaders/trunk (PKGBUILD)

2020-11-09 Thread Felix Yan via arch-commits
Date: Monday, November 9, 2020 @ 17:06:50
  Author: felixonmars
Revision: 747756

upgpkg: python-authheaders 0.13.0-2: Python 3.9 rebuild

Modified:
  python-authheaders/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-11-09 17:06:50 UTC (rev 747755)
+++ PKGBUILD2020-11-09 17:06:50 UTC (rev 747756)
@@ -3,7 +3,7 @@
 _name=authheaders
 pkgname=python-authheaders
 pkgver=0.13.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Library for the generation of email authentication headers"
 arch=('any')
 url="https://github.com/ValiMail/authentication-headers;


[arch-commits] Commit in python-authheaders/trunk (PKGBUILD)

2020-01-26 Thread David Runge via arch-commits
Date: Sunday, January 26, 2020 @ 13:05:47
  Author: dvzrv
Revision: 555682

upgpkg: python-authheaders 0.13.0-1: Upgrading to 0.13.0. Switching to 
python-publicsuffix2 in depends.
Adding psddmarc-participants.csv as static data. Using the PSL provided by 
publicsuffix-list.

Modified:
  python-authheaders/trunk/PKGBUILD

--+
 PKGBUILD |   23 +++
 1 file changed, 15 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-01-26 12:28:16 UTC (rev 555681)
+++ PKGBUILD2020-01-26 13:05:47 UTC (rev 555682)
@@ -2,21 +2,21 @@
 
 _name=authheaders
 pkgname=python-authheaders
-pkgver=0.12.2
+pkgver=0.13.0
 pkgrel=1
 pkgdesc="Library for the generation of email authentication headers"
 arch=('any')
 url="https://github.com/ValiMail/authentication-headers;
 license=('BSD' 'MPL2' 'ZPL')
-# python-publicsuffix should actually not be in use:
-# https://github.com/ValiMail/authentication-headers/issues/2
-depends=('python-authres' 'python-dkim' 'python-dnspython'
-'python-publicsuffix')
+depends=('publicsuffix-list' 'python-authres' 'python-dkim' 'python-dnspython'
+'python-publicsuffix2')
 makedepends=('python-setuptools')
 checkdepends=('python-pytest')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz"{,.asc})
-sha512sums=('418c31f4b2d8f8893f986785814860cde7188e450aeb8f5b50f97fc32a27cdf6695942586c3fe1695b01f9468dd16a25afa67310e00b537422b42b9e7911fc68'
-'SKIP')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz"{,.asc}
+psddmarc.csv::https://www.psddmarc.org/psddmarc-participants.csv)
+sha512sums=('dfaccd9dedea8bebc22b831c481c733590e11a3483e42b45f0b6329bdaa98eec0644faf8da8b92c56c2d48a43eec9c52f8ea9a3c67ae841c46a7085cf0572177'
+'SKIP'
+
'f9bfa3ad0090c08b796c5a8cb1d16f2ec4069632f89469f3594c3770778ec66bcada09f1c813badc992ddad9d19fc25fb63c83fe70243c0d260de07f44219498')
 validpgpkeys=('E7729BFFBE85400F23B178D7DEFB9AD59AF1') # Donald Scott 
Kitterman 
 
 prepare() {
@@ -36,10 +36,17 @@
 
 package() {
   cd "$pkgname-$pkgver"
+  local python_stdlib_basepath="$(python -c "from sysconfig import get_path; 
print(get_path('stdlib'))")"
   python setup.py install --skip-build \
 --optimize=1 \
 --prefix=/usr \
 --root="${pkgdir}"
+  # use the system provided publicsuffix list (PSL)
+  ln -svf /usr/share/publicsuffix/public_suffix_list.dat \
+
"${pkgdir}/$python_stdlib_basepath/site-packages/authheaders/public_suffix_list.txt"
+  # the psddmarc-participants.csv seemingly needs to be embedded:
+  # https://github.com/ValiMail/authentication-headers/issues/4
+  install -vDm 644 ../psddmarc.csv -t 
"${pkgdir}/$python_stdlib_basepath/site-packages/authheaders/"
   install -vDm 644 {CHANGES,README.md} -t "${pkgdir}/usr/share/doc/${pkgname}"
   install -vDm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
 }


[arch-commits] Commit in python-authheaders/trunk (PKGBUILD)

2020-01-23 Thread David Runge via arch-commits
Date: Thursday, January 23, 2020 @ 15:38:29
  Author: dvzrv
Revision: 554987

upgpkg: python-authheaders 0.12.2-1: Upgrading to 0.12.2. Adding upstream's PGP 
keys, after verification was re-added.

Modified:
  python-authheaders/trunk/PKGBUILD

--+
 PKGBUILD |   12 +---
 1 file changed, 5 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-01-23 15:34:53 UTC (rev 554986)
+++ PKGBUILD2020-01-23 15:38:29 UTC (rev 554987)
@@ -2,7 +2,7 @@
 
 _name=authheaders
 pkgname=python-authheaders
-pkgver=0.12.1
+pkgver=0.12.2
 pkgrel=1
 pkgdesc="Library for the generation of email authentication headers"
 arch=('any')
@@ -14,12 +14,10 @@
 'python-publicsuffix')
 makedepends=('python-setuptools')
 checkdepends=('python-pytest')
-# latest version doesn't offer verification:
-# https://github.com/ValiMail/authentication-headers/issues/1
-# 
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz"{,.asc})
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz;)
-sha512sums=('68ac36227d0ef602ed89fcd5852c0984b0875bd4a3e1465d87791178a0e42072bca79335054c82bbbe6e06f6484598cabfa83676bd3338114f82bf9dbd23ccc3')
-# validpgpkeys=('E7729BFFBE85400F23B178D7DEFB9AD59AF1')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz"{,.asc})
+sha512sums=('418c31f4b2d8f8893f986785814860cde7188e450aeb8f5b50f97fc32a27cdf6695942586c3fe1695b01f9468dd16a25afa67310e00b537422b42b9e7911fc68'
+'SKIP')
+validpgpkeys=('E7729BFFBE85400F23B178D7DEFB9AD59AF1') # Donald Scott 
Kitterman 
 
 prepare() {
   mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"


[arch-commits] Commit in python-authheaders/trunk (PKGBUILD)

2020-01-10 Thread David Runge via arch-commits
Date: Saturday, January 11, 2020 @ 00:57:17
  Author: dvzrv
Revision: 551871

upgpkg: python-authheaders 0.12.1-1: Adding python-authheaders 0.12.1.

Modified:
  python-authheaders/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-01-11 00:55:54 UTC (rev 551870)
+++ PKGBUILD2020-01-11 00:57:17 UTC (rev 551871)
@@ -4,12 +4,10 @@
 pkgname=python-authheaders
 pkgver=0.12.1
 pkgrel=1
-epoch=
 pkgdesc="Library for the generation of email authentication headers"
 arch=('any')
 url="https://github.com/ValiMail/authentication-headers;
 license=('BSD' 'MPL2' 'ZPL')
-groups=()
 # python-publicsuffix should actually not be in use:
 # https://github.com/ValiMail/authentication-headers/issues/2
 depends=('python-authres' 'python-dkim' 'python-dnspython'
@@ -16,19 +14,10 @@
 'python-publicsuffix')
 makedepends=('python-setuptools')
 checkdepends=('python-pytest')
-optdepends=()
-provides=()
-conflicts=()
-replaces=()
-backup=()
-options=()
-install=
-changelog=
 # latest version doesn't offer verification:
 # https://github.com/ValiMail/authentication-headers/issues/1
 # 
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz"{,.asc})
 
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz;)
-noextract=()
 
sha512sums=('68ac36227d0ef602ed89fcd5852c0984b0875bd4a3e1465d87791178a0e42072bca79335054c82bbbe6e06f6484598cabfa83676bd3338114f82bf9dbd23ccc3')
 # validpgpkeys=('E7729BFFBE85400F23B178D7DEFB9AD59AF1')