[arch-commits] Commit in python-cryptography/repos/staging-x86_64 (PKGBUILD PKGBUILD)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Tue Dec 7 14:32:30 UTC 2021
Date: Tuesday, December 7, 2021 @ 14:32:30
Author: foutrelis
Revision: 430781
archrelease: copy trunk to staging-x86_64
Added:
python-cryptography/repos/staging-x86_64/PKGBUILD
(from rev 430780, python-cryptography/trunk/PKGBUILD)
Deleted:
python-cryptography/repos/staging-x86_64/PKGBUILD
----------+
PKGBUILD | 65 ++++++++++++++++++++++++++++---------------------------------
1 file changed, 30 insertions(+), 35 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-07 14:32:26 UTC (rev 430780)
+++ PKGBUILD 2021-12-07 14:32:30 UTC (rev 430781)
@@ -1,35 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-cryptography
-pkgver=35.0.0
-pkgrel=3
-pkgdesc="A package designed to expose cryptographic recipes and primitives to Python developers"
-arch=('x86_64')
-license=('Apache')
-url="https://pypi.python.org/pypi/cryptography"
-depends=('python-cffi')
-makedepends=('python-setuptools-rust')
-checkdepends=('python-pytest-runner' 'python-pytest-subtests' "python-cryptography-vectors=$pkgver"
- 'python-iso8601' 'python-pretend' 'python-hypothesis' 'python-pytz')
-source=("https://pypi.io/packages/source/c/cryptography/cryptography-$pkgver.tar.gz")
-sha512sums=('447fd81ea82bd5875f14b3dca0fe6c1e8ebe661485252b00c3a19ab91bc0261289fbc59f9a22ba9317e8ba01f7f197c90ca6973f9d87a5d8851eeff2e1168d1d')
-
-prepare() {
- # https://github.com/pyca/cryptography/pull/5777
- sed -i '/install_requires/d' cryptography-$pkgver/setup.py
-}
-
-build() {
- cd cryptography-$pkgver
- python setup.py build
-}
-
-check() {
- cd cryptography-$pkgver
- python setup.py pytest
-}
-
-package() {
- cd cryptography-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}
Copied: python-cryptography/repos/staging-x86_64/PKGBUILD (from rev 430780, python-cryptography/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-07 14:32:30 UTC (rev 430781)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-cryptography
+pkgver=36.0.0
+pkgrel=1
+pkgdesc="A package designed to expose cryptographic recipes and primitives to Python developers"
+arch=('x86_64')
+license=('Apache')
+url="https://pypi.python.org/pypi/cryptography"
+depends=('python-cffi')
+makedepends=('python-setuptools-rust')
+checkdepends=('python-pytest-runner' 'python-pytest-subtests' "python-cryptography-vectors=$pkgver"
+ 'python-iso8601' 'python-pretend' 'python-hypothesis' 'python-pytz')
+source=("https://pypi.io/packages/source/c/cryptography/cryptography-$pkgver.tar.gz")
+sha512sums=('0588ab77c329277950ab3a20fbc1c1db2d59dfa86e8f6f2f0947507eb65557a749d40680b13df513db70bdf7a6c7c827b339988523cb5b476ad0340acb28bdf6')
+
+build() {
+ cd cryptography-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd cryptography-$pkgver
+ python setup.py pytest
+}
+
+package() {
+ cd cryptography-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
More information about the arch-commits
mailing list