[arch-commits] Commit in python-service-identity/repos (2 files)

2020-11-09 Thread Evangelos Foutras via arch-commits
Date: Monday, November 9, 2020 @ 19:24:11
  Author: foutrelis
Revision: 399923

archrelease: copy trunk to staging-any

Added:
  python-service-identity/repos/staging-any/
  python-service-identity/repos/staging-any/PKGBUILD
(from rev 399921, python-service-identity/trunk/PKGBUILD)

--+
 PKGBUILD |   54 ++
 1 file changed, 54 insertions(+)

Copied: python-service-identity/repos/staging-any/PKGBUILD (from rev 399921, 
python-service-identity/trunk/PKGBUILD)
===
--- staging-any/PKGBUILD(rev 0)
+++ staging-any/PKGBUILD2020-11-09 19:24:11 UTC (rev 399923)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+pkgbase=python-service-identity
+pkgname=('python-service-identity' 'python2-service-identity')
+pkgver=18.1.0
+pkgrel=5
+pkgdesc="Service identity verification for pyOpenSSL"
+arch=('any')
+license=('MIT')
+url="https://pypi.python.org/pypi/service_identity";
+makedepends=('python-pyopenssl' 'python2-pyopenssl' 'python-pyasn1' 
'python2-pyasn1'
+ 'python-setuptools' 'python2-setuptools' 'python-pyasn1-modules' 
'python2-pyasn1-modules'
+ 'python-attrs' 'python2-attrs' 'python-idna' 'python2-idna')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/pyca/service-identity/archive/$pkgver.tar.gz";)
+sha512sums=('6b6da48c543bfbe0d9da9f0d03dbd735ce97e64a76cbf9eae2b615ced7b91c5fcca1f25353e53858c48da9c4e0c0be4e33fa4559adb50899a79689cbb372f49b')
+
+prepare() {
+  cp -a service-identity-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/service-identity-$pkgver
+  python setup.py build
+ 
+  cd "$srcdir"/service-identity-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/service-identity-$pkgver
+  python setup.py pytest
+
+  cd "$srcdir"/service-identity-$pkgver-py2
+  python2 setup.py pytest
+}
+ 
+package_python-service-identity() {
+  depends=('python-pyopenssl' 'python-pyasn1' 'python-pyasn1-modules' 
'python-attrs')
+  optdepends=('python-idna: for Internationalized Domain Names support')
+ 
+  cd service-identity-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+ 
+package_python2-service-identity() {
+  depends=('python2-pyopenssl' 'python2-pyasn1' 'python2-pyasn1-modules' 
'python2-attrs')
+  optdepends=('python2-idna: for Internationalized Domain Names support')
+ 
+  cd service-identity-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


[arch-commits] Commit in python-service-identity/repos (2 files)

2020-05-16 Thread Evangelos Foutras via arch-commits
Date: Saturday, May 16, 2020 @ 12:28:19
  Author: foutrelis
Revision: 384535

archrelease: copy trunk to staging-any

Added:
  python-service-identity/repos/staging-any/
  python-service-identity/repos/staging-any/PKGBUILD
(from rev 384534, python-service-identity/trunk/PKGBUILD)

--+
 PKGBUILD |   54 ++
 1 file changed, 54 insertions(+)

Copied: python-service-identity/repos/staging-any/PKGBUILD (from rev 384534, 
python-service-identity/trunk/PKGBUILD)
===
--- staging-any/PKGBUILD(rev 0)
+++ staging-any/PKGBUILD2020-05-16 12:28:19 UTC (rev 384535)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+pkgbase=python-service-identity
+pkgname=('python-service-identity' 'python2-service-identity')
+pkgver=18.1.0
+pkgrel=4
+pkgdesc="Service identity verification for pyOpenSSL"
+arch=('any')
+license=('MIT')
+url="https://pypi.python.org/pypi/service_identity";
+makedepends=('python-pyopenssl' 'python2-pyopenssl' 'python-pyasn1' 
'python2-pyasn1'
+ 'python-setuptools' 'python2-setuptools' 'python-pyasn1-modules' 
'python2-pyasn1-modules'
+ 'python-attrs' 'python2-attrs' 'python-idna' 'python2-idna')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/pyca/service-identity/archive/$pkgver.tar.gz";)
+sha512sums=('6b6da48c543bfbe0d9da9f0d03dbd735ce97e64a76cbf9eae2b615ced7b91c5fcca1f25353e53858c48da9c4e0c0be4e33fa4559adb50899a79689cbb372f49b')
+
+prepare() {
+  cp -a service-identity-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/service-identity-$pkgver
+  python setup.py build
+ 
+  cd "$srcdir"/service-identity-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/service-identity-$pkgver
+  python setup.py pytest
+
+  cd "$srcdir"/service-identity-$pkgver-py2
+  python2 setup.py pytest
+}
+ 
+package_python-service-identity() {
+  depends=('python-pyopenssl' 'python-pyasn1' 'python-pyasn1-modules' 
'python-attrs')
+  optdepends=('python-idna: for Internationalized Domain Names support')
+ 
+  cd service-identity-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+ 
+package_python2-service-identity() {
+  depends=('python2-pyopenssl' 'python2-pyasn1' 'python2-pyasn1-modules' 
'python2-attrs')
+  optdepends=('python2-idna: for Internationalized Domain Names support')
+ 
+  cd service-identity-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


[arch-commits] Commit in python-service-identity/repos (2 files)

2019-10-25 Thread Evangelos Foutras via arch-commits
Date: Saturday, October 26, 2019 @ 06:27:06
  Author: foutrelis
Revision: 365810

archrelease: copy trunk to staging-any

Added:
  python-service-identity/repos/staging-any/
  python-service-identity/repos/staging-any/PKGBUILD
(from rev 365809, python-service-identity/trunk/PKGBUILD)

--+
 PKGBUILD |   54 ++
 1 file changed, 54 insertions(+)

Copied: python-service-identity/repos/staging-any/PKGBUILD (from rev 365809, 
python-service-identity/trunk/PKGBUILD)
===
--- staging-any/PKGBUILD(rev 0)
+++ staging-any/PKGBUILD2019-10-26 06:27:06 UTC (rev 365810)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+pkgbase=python-service-identity
+pkgname=('python-service-identity' 'python2-service-identity')
+pkgver=18.1.0
+pkgrel=2
+pkgdesc="Service identity verification for pyOpenSSL"
+arch=('any')
+license=('MIT')
+url="https://pypi.python.org/pypi/service_identity";
+makedepends=('python-pyopenssl' 'python2-pyopenssl' 'python-pyasn1' 
'python2-pyasn1'
+ 'python-setuptools' 'python2-setuptools' 'python-pyasn1-modules' 
'python2-pyasn1-modules'
+ 'python-attrs' 'python2-attrs' 'python-idna' 'python2-idna')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/pyca/service-identity/archive/$pkgver.tar.gz";)
+sha512sums=('6b6da48c543bfbe0d9da9f0d03dbd735ce97e64a76cbf9eae2b615ced7b91c5fcca1f25353e53858c48da9c4e0c0be4e33fa4559adb50899a79689cbb372f49b')
+
+prepare() {
+  cp -a service-identity-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/service-identity-$pkgver
+  python setup.py build
+ 
+  cd "$srcdir"/service-identity-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/service-identity-$pkgver
+  python setup.py pytest
+
+  cd "$srcdir"/service-identity-$pkgver-py2
+  python2 setup.py pytest
+}
+ 
+package_python-service-identity() {
+  depends=('python-pyopenssl' 'python-pyasn1' 'python-pyasn1-modules' 
'python-attrs')
+  optdepends=('python-idna: for Internationalized Domain Names support')
+ 
+  cd service-identity-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+ 
+package_python2-service-identity() {
+  depends=('python2-pyopenssl' 'python2-pyasn1' 'python2-pyasn1-modules' 
'python2-attrs')
+  optdepends=('python2-idna: for Internationalized Domain Names support')
+ 
+  cd service-identity-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


[arch-commits] Commit in python-service-identity/repos (2 files)

2018-12-06 Thread Felix Yan via arch-commits
Date: Thursday, December 6, 2018 @ 08:03:49
  Author: felixonmars
Revision: 341109

archrelease: copy trunk to testing-any

Added:
  python-service-identity/repos/testing-any/
  python-service-identity/repos/testing-any/PKGBUILD
(from rev 341108, python-service-identity/trunk/PKGBUILD)

--+
 PKGBUILD |   54 ++
 1 file changed, 54 insertions(+)

Copied: python-service-identity/repos/testing-any/PKGBUILD (from rev 341108, 
python-service-identity/trunk/PKGBUILD)
===
--- testing-any/PKGBUILD(rev 0)
+++ testing-any/PKGBUILD2018-12-06 08:03:49 UTC (rev 341109)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan 
+
+pkgbase=python-service-identity
+pkgname=('python-service-identity' 'python2-service-identity')
+pkgver=18.1.0
+pkgrel=1
+pkgdesc="Service identity verification for pyOpenSSL"
+arch=('any')
+license=('MIT')
+url="http://pypi.python.org/pypi/service_identity";
+makedepends=('python-pyopenssl' 'python2-pyopenssl' 'python-pyasn1' 
'python2-pyasn1'
+ 'python-setuptools' 'python2-setuptools' 'python-pyasn1-modules' 
'python2-pyasn1-modules'
+ 'python-attrs' 'python2-attrs' 'python-idna' 'python2-idna')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/pyca/service_identity/archive/$pkgver.tar.gz";)
+sha512sums=('0d1abf6ba1e725e923171fd3b809b2cf7ba757ca47f773e8c99a2e2265425b253549609c76955c4d67fcd2fd305d479a1d7541cb26811e94db26ab853d3d3441')
+
+prepare() {
+  cp -a service_identity-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/service_identity-$pkgver
+  python setup.py build
+ 
+  cd "$srcdir"/service_identity-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/service_identity-$pkgver
+  python setup.py pytest
+
+  cd "$srcdir"/service_identity-$pkgver-py2
+  python2 setup.py pytest
+}
+ 
+package_python-service-identity() {
+  depends=('python-pyopenssl' 'python-pyasn1' 'python-pyasn1-modules' 
'python-attrs')
+  optdepends=('python-idna: for Internationalized Domain Names support')
+ 
+  cd service_identity-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+ 
+package_python2-service-identity() {
+  depends=('python2-pyopenssl' 'python2-pyasn1' 'python2-pyasn1-modules' 
'python2-attrs')
+  optdepends=('python2-idna: for Internationalized Domain Names support')
+ 
+  cd service_identity-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


[arch-commits] Commit in python-service-identity/repos (2 files)

2018-07-08 Thread Evangelos Foutras via arch-commits
Date: Sunday, July 8, 2018 @ 14:22:40
  Author: foutrelis
Revision: 328078

archrelease: copy trunk to staging-any

Added:
  python-service-identity/repos/staging-any/
  python-service-identity/repos/staging-any/PKGBUILD
(from rev 328077, python-service-identity/trunk/PKGBUILD)

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: python-service-identity/repos/staging-any/PKGBUILD (from rev 328077, 
python-service-identity/trunk/PKGBUILD)
===
--- staging-any/PKGBUILD(rev 0)
+++ staging-any/PKGBUILD2018-07-08 14:22:40 UTC (rev 328078)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgbase=python-service-identity
+pkgname=('python-service-identity' 'python2-service-identity')
+pkgver=17.0.0
+pkgrel=2
+pkgdesc="Service identity verification for pyOpenSSL"
+arch=('any')
+license=('MIT')
+url="http://pypi.python.org/pypi/service_identity";
+makedepends=('python-pyopenssl' 'python2-pyopenssl' 'python-pyasn1' 
'python2-pyasn1'
+ 'python-setuptools' 'python2-setuptools' 'python-pyasn1-modules' 
'python2-pyasn1-modules'
+ 'python-attrs' 'python2-attrs' 'python-idna' 'python2-idna')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/pyca/service_identity/archive/$pkgver.tar.gz";)
+sha512sums=('3824cb473420a5ce6779fd35ff931189ed68286ad1f7f2936e3253a785cd76a77bbb95210a4a5fde1b1ef0c8d9c762b8e89ab44dce60ee43e34b2553ab78b5aa')
+
+prepare() {
+  cp -a service_identity-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/service_identity-$pkgver
+  python setup.py build
+ 
+  cd "$srcdir"/service_identity-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/service_identity-$pkgver
+  python setup.py pytest
+
+  cd "$srcdir"/service_identity-$pkgver-py2
+  python2 setup.py pytest
+}
+ 
+package_python-service-identity() {
+  depends=('python-pyopenssl' 'python-pyasn1' 'python-pyasn1-modules' 
'python-attrs')
+  optdepends=('python-idna: for Internationalized Domain Names support')
+ 
+  cd service_identity-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+ 
+package_python2-service-identity() {
+  depends=('python2-pyopenssl' 'python2-pyasn1' 'python2-pyasn1-modules' 
'python2-attrs')
+  optdepends=('python2-idna: for Internationalized Domain Names support')
+ 
+  cd service_identity-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


[arch-commits] Commit in python-service-identity/repos (2 files)

2016-12-24 Thread Evangelos Foutras
Date: Saturday, December 24, 2016 @ 18:18:07
  Author: foutrelis
Revision: 284680

archrelease: copy trunk to staging-any

Added:
  python-service-identity/repos/staging-any/
  python-service-identity/repos/staging-any/PKGBUILD
(from rev 284679, python-service-identity/trunk/PKGBUILD)

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: python-service-identity/repos/staging-any/PKGBUILD (from rev 284679, 
python-service-identity/trunk/PKGBUILD)
===
--- staging-any/PKGBUILD(rev 0)
+++ staging-any/PKGBUILD2016-12-24 18:18:07 UTC (rev 284680)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgbase=python-service-identity
+pkgname=('python-service-identity' 'python2-service-identity')
+pkgver=16.0.0
+pkgrel=2
+pkgdesc="Service identity verification for pyOpenSSL"
+arch=('any')
+license=('MIT')
+url="http://pypi.python.org/pypi/service_identity";
+makedepends=('python-pyopenssl' 'python2-pyopenssl' 'python-pyasn1' 
'python2-pyasn1'
+ 'python-setuptools' 'python2-setuptools' 'python-pyasn1-modules' 
'python2-pyasn1-modules'
+ 'python-attrs' 'python2-attrs' 'python-idna' 'python2-idna')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner')
+source=("http://pypi.python.org/packages/source/s/service_identity/service_identity-$pkgver.tar.gz";)
+md5sums=('d52392597b9c44a740abf322bfdb21e6')
+
+prepare() {
+  cp -a service_identity-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/service_identity-$pkgver
+  python setup.py build
+ 
+  cd "$srcdir"/service_identity-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/service_identity-$pkgver
+  python setup.py ptr
+
+  cd "$srcdir"/service_identity-$pkgver-py2
+  python2 setup.py ptr
+}
+ 
+package_python-service-identity() {
+  depends=('python-pyopenssl' 'python-pyasn1' 'python-pyasn1-modules' 
'python-attrs')
+  optdepends=('python-idna: for Internationalized Domain Names support')
+ 
+  cd service_identity-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+ 
+package_python2-service-identity() {
+  depends=('python2-pyopenssl' 'python2-pyasn1' 'python2-pyasn1-modules' 
'python2-attrs')
+  optdepends=('python2-idna: for Internationalized Domain Names support')
+ 
+  cd service_identity-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}


[arch-commits] Commit in python-service-identity/repos (2 files)

2015-09-19 Thread Felix Yan
Date: Sunday, September 20, 2015 @ 03:53:19
  Author: fyan
Revision: 246717

archrelease: copy trunk to staging-any

Added:
  python-service-identity/repos/staging-any/
  python-service-identity/repos/staging-any/PKGBUILD
(from rev 246716, python-service-identity/trunk/PKGBUILD)

--+
 PKGBUILD |   59 +++
 1 file changed, 59 insertions(+)

Copied: python-service-identity/repos/staging-any/PKGBUILD (from rev 246716, 
python-service-identity/trunk/PKGBUILD)
===
--- staging-any/PKGBUILD(rev 0)
+++ staging-any/PKGBUILD2015-09-20 01:53:19 UTC (rev 246717)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgbase=python-service-identity
+pkgname=('python-service-identity' 'python2-service-identity')
+pkgver=14.0.0
+pkgrel=3
+pkgdesc="Service identity verification for pyOpenSSL"
+arch=('any')
+license=('MIT')
+url="http://pypi.python.org/pypi/service_identity";
+makedepends=('python-pyopenssl' 'python2-pyopenssl' 'python-pyasn1' 
'python2-pyasn1'
+ 'python-setuptools' 'python2-setuptools' 'python-pyasn1-modules' 
'python2-pyasn1-modules'
+ 'python-characteristic' 'python2-characteristic' 'python-pytest' 
'python2-pytest')
+checkdepends=('python-idna' 'python2-idna')
+source=("http://pypi.python.org/packages/source/s/service_identity/service_identity-${pkgver}.tar.gz";)
+md5sums=('cea0b0156d73b025ecef660fb51f0d9a')
+
+prepare() {
+   cp -a service_identity-${pkgver}{,-python2}
+}
+
+build() {
+   # Build python 3 module
+   cd service_identity-${pkgver}
+   python3 setup.py build
+ 
+   # Build python 2 module
+   cd ../service_identity-${pkgver}-python2
+   python2 setup.py build
+}
+
+check() {
+   # Check python3 module
+   cd "${srcdir}"/service_identity-${pkgver}
+   py.test
+
+   # Check python2 module
+   cd "${srcdir}"/service_identity-${pkgver}-python2
+   py.test2
+}
+ 
+package_python-service-identity() {
+   depends=('python' 'python-pyopenssl' 'python-pyasn1' 
'python-pyasn1-modules' 'python-characteristic')
+   optdepends=('python-idna: for Internationalized Domain Names support')
+ 
+   cd service_identity-${pkgver}
+   python3 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+ 
+package_python2-service-identity() {
+   depends=('python2' 'python2-pyopenssl' 'python2-pyasn1' 
'python2-pyasn1-modules' 'python2-characteristic')
+   optdepends=('python2-idna: for Internationalized Domain Names support')
+ 
+   cd service_identity-${pkgver}-python2
+   python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}