Caleb Maclennan pushed to branch main at Arch Linux / Packaging / Packages / 
python-markdown


Commits:
84c1abeb by Caleb Maclennan at 2024-03-17T16:42:52+03:00
upgpkg: 3.6-2: Use VCS source checksumming to eliminate need for pinned commits

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = python-markdown
        pkgdesc = Python implementation of John Gruber's Markdown
        pkgver = 3.6
-       pkgrel = 1
+       pkgrel = 2
        url = https://python-markdown.github.io/
        arch = any
        license = BSD
@@ -13,7 +13,7 @@ pkgbase = python-markdown
        makedepends = python-wheel
        depends = python
        optdepends = python-yaml: parse Python in YAML metadata
-       source = 
python-markdown::git+https://github.com/Python-Markdown/markdown#commit=e524b8fe938738cb4492411a34cce89051cb9695
+       source = 
python-markdown::git+https://github.com/Python-Markdown/markdown#tag=3.6
        sha256sums = 
17665ec53a4eed996420f13196d7510c34be95853837d834960f632a86478b73
 
 pkgname = python-markdown


=====================================
PKGBUILD
=====================================
@@ -7,9 +7,8 @@
 # Contributor: Chaiwat Suttipongsakul <cwt at bashell dot com>
 
 pkgname=python-markdown
-_commit='e524b8fe938738cb4492411a34cce89051cb9695'
 pkgver=3.6
-pkgrel=1
+pkgrel=2
 pkgdesc="Python implementation of John Gruber's Markdown"
 arch=('any')
 url='https://python-markdown.github.io/'
@@ -18,15 +17,9 @@ depends=('python')
 makedepends=('git' 'python-build' 'python-installer' 'python-setuptools' 
'python-wheel')
 optdepends=('python-yaml: parse Python in YAML metadata')
 checkdepends=('python-yaml')
-source=("$pkgname::git+https://github.com/Python-Markdown/markdown#commit=$_commit";)
+source=("$pkgname::git+https://github.com/Python-Markdown/markdown#tag=$pkgver";)
 sha256sums=('17665ec53a4eed996420f13196d7510c34be95853837d834960f632a86478b73')
 
-pkgver() {
-  cd "$pkgname"
-
-  git describe --tags | sed 's/^v//'
-}
-
 build() {
   cd "$pkgname"
 



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-markdown/-/commit/84c1abeb4da702431b38467a9e323ed30baae979

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-markdown/-/commit/84c1abeb4da702431b38467a9e323ed30baae979
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to