George Rawlinson pushed to branch main at Arch Linux / Packaging / Packages /
python-pyasn
Commits:
7cf5bd1b by George Rawlinson at 2024-12-23T20:50:57+00:00
upgpkg: 1.6.2-1
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,11 +1,11 @@
pkgbase = python-pyasn
pkgdesc = Python IP address to Autonomous System Number lookup module
- pkgver = 1.6.1
- pkgrel = 6
+ pkgver = 1.6.2
+ pkgrel = 1
url = https://github.com/hadiasghari/pyasn
arch = x86_64
license = MIT
- license = BSD
+ license = BSD-4-Clause
checkdepends = python-pytest
makedepends = git
makedepends = python-build
@@ -14,7 +14,8 @@ pkgbase = python-pyasn
makedepends = python-setuptools
depends = python
depends = python-ujson
- source =
python-pyasn::git+https://github.com/hadiasghari/pyasn#commit=1d64d6d2f20e0353b46fbf5b94f8bdea8f41e9ce
- b2sums = SKIP
+ source =
python-pyasn::git+https://github.com/hadiasghari/pyasn#tag=1.6.2
+ sha512sums =
cbf2d82f43e144022cc41def7ce930fabc70194db033fee3b27c54a2e7f17fef74d7c1b1c449aca1b952e27bdd708739d690670bcdf88fb4caef97ba8d7dd171
+ b2sums =
ce5a0e5a2f8124f3f1bf8091c75406e9b4523277e5620fadccc6f138a786643fa1242a761543359ff6a11917d31c1679e7eca20b7e354babff86d441a8b6b3f6
pkgname = python-pyasn
=====================================
PKGBUILD
=====================================
@@ -1,12 +1,12 @@
# Maintainer: George Rawlinson <[email protected]>
pkgname=python-pyasn
-pkgver=1.6.1
-pkgrel=6
+pkgver=1.6.2
+pkgrel=1
pkgdesc='Python IP address to Autonomous System Number lookup module'
arch=('x86_64')
url='https://github.com/hadiasghari/pyasn'
-license=('MIT' 'BSD') # SPDX:BSD-4-Clause
+license=('MIT' 'BSD-4-Clause')
# namcap complains about ordereddict, but this is only for Python 2
# it also complains about urllib2, let's ignore that too
depends=(
@@ -21,15 +21,9 @@ makedepends=(
'python-setuptools'
)
checkdepends=('python-pytest')
-_commit='1d64d6d2f20e0353b46fbf5b94f8bdea8f41e9ce'
-source=("$pkgname::git+$url#commit=$_commit")
-b2sums=('SKIP')
-
-pkgver() {
- cd "$pkgname"
-
- git describe --tags | sed -e 's/^v//' -e 's/-re$//'
-}
+source=("$pkgname::git+$url#tag=$pkgver")
+sha512sums=('cbf2d82f43e144022cc41def7ce930fabc70194db033fee3b27c54a2e7f17fef74d7c1b1c449aca1b952e27bdd708739d690670bcdf88fb4caef97ba8d7dd171')
+b2sums=('ce5a0e5a2f8124f3f1bf8091c75406e9b4523277e5620fadccc6f138a786643fa1242a761543359ff6a11917d31c1679e7eca20b7e354babff86d441a8b6b3f6')
build() {
cd "$pkgname"
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pyasn/-/commit/7cf5bd1bf8bbe989c0d3173eaa23ecf0b4835c6a
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pyasn/-/commit/7cf5bd1bf8bbe989c0d3173eaa23ecf0b4835c6a
You're receiving this email because of your account on gitlab.archlinux.org.