Felix Yan pushed to branch main at Arch Linux / Packaging / Packages /
python-pycryptodome
Commits:
d5738f10 by Felix Yan at 2024-10-05T21:50:55+03:00
upgpkg: 3.21.0-1
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,11 +1,11 @@
pkgbase = python-pycryptodome
pkgdesc = Collection of cryptographic algorithms and protocols,
implemented for use from Python 3.
- pkgver = 3.20.0
- pkgrel = 2
+ pkgver = 3.21.0
+ pkgrel = 1
url = https://www.pycryptodome.org/
arch = x86_64
license = BSD
- makedepends = gmp
+ makedepends = git
makedepends = python-build
makedepends = python-installer
makedepends = python-wheel
@@ -15,7 +15,7 @@ pkgbase = python-pycryptodome
provides = python-crypto
conflicts = python-crypto
replaces = python-crypto
- source =
pycryptodome-3.20.0.tar.gz::https://github.com/Legrandin/pycryptodome/archive/v3.20.0.tar.gz
- sha512sums =
0d65ccd93f9f78548c04aa3af01cb65b6a39e81bb3dfa4bb08acc5a5a731b17f9c5b07a1d1780739b3f358402a3596b04e446fc7b39345a4c6f03fd5a2de7ff9
+ source = git+https://github.com/Legrandin/pycryptodome.git#tag=v3.21.0
+ sha512sums =
0289d2acfcff7fb8a2468c44471505a22b9ecda22a294d43a346544c3212f7d1ddfc4d5bfb7e0f45cb05d09c9d5158e8c6bff60a79130ee58deea323750a5d85
pkgname = python-pycryptodome
=====================================
PKGBUILD
=====================================
@@ -3,22 +3,22 @@
# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
pkgname=python-pycryptodome
-pkgver=3.20.0
-pkgrel=2
+pkgver=3.21.0
+pkgrel=1
license=('BSD')
arch=('x86_64')
pkgdesc="Collection of cryptographic algorithms and protocols, implemented for
use from Python 3."
url='https://www.pycryptodome.org/'
depends=('python' 'gmp')
-makedepends=('gmp' 'python-'{build,installer,wheel} 'python-setuptools')
+makedepends=('git' 'python-'{build,installer,wheel} 'python-setuptools')
conflicts=('python-crypto')
provides=('python-crypto')
replaces=('python-crypto')
-source=("pycryptodome-$pkgver.tar.gz::https://github.com/Legrandin/pycryptodome/archive/v$pkgver.tar.gz")
-sha512sums=('0d65ccd93f9f78548c04aa3af01cb65b6a39e81bb3dfa4bb08acc5a5a731b17f9c5b07a1d1780739b3f358402a3596b04e446fc7b39345a4c6f03fd5a2de7ff9')
+source=("git+https://github.com/Legrandin/pycryptodome.git#tag=v$pkgver")
+sha512sums=('0289d2acfcff7fb8a2468c44471505a22b9ecda22a294d43a346544c3212f7d1ddfc4d5bfb7e0f45cb05d09c9d5158e8c6bff60a79130ee58deea323750a5d85')
build() {
- cd pycryptodome-$pkgver
+ cd pycryptodome
python -m build -wn
cd test_vectors
@@ -26,7 +26,7 @@ build() {
}
check() {
- cd pycryptodome-$pkgver
+ cd pycryptodome
python -m installer -d tmpinstall dist/*.whl
python -m installer -d tmpinstall test_vectors/dist/*.whl
local python_version=$(python -c 'import sys; print(".".join(map(str,
sys.version_info[:2])))')
@@ -34,7 +34,7 @@ check() {
}
package() {
- cd pycryptodome-$pkgver
+ cd pycryptodome
python -m installer -d "$pkgdir" dist/*.whl
install -Dm644 LICENSE.rst -t "$pkgdir"/usr/share/licenses/$pkgname/
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pycryptodome/-/commit/d5738f105ea8749c8ba98c3ed694327a2f08f1ae
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pycryptodome/-/commit/d5738f105ea8749c8ba98c3ed694327a2f08f1ae
You're receiving this email because of your account on gitlab.archlinux.org.