Evangelos Foutras pushed to branch main at Arch Linux / Packaging / Packages / 
python-sqlalchemy-continuum


Commits:
6faf4f4d by Evangelos Foutras at 2024-09-28T22:18:16+03:00
upgpkg: 1.4.2-1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = python-sqlalchemy-continuum
        pkgdesc = Versioning and auditing extension for SQLAlchemy
-       pkgver = 1.3.14
-       pkgrel = 4
+       pkgver = 1.4.2
+       pkgrel = 1
        url = https://github.com/kvesteri/sqlalchemy-continuum
        arch = any
        license = BSD
@@ -26,8 +26,8 @@ pkgbase = python-sqlalchemy-continuum
        optdepends = python-flask-sqlalchemy: flask plugin
        optdepends = python-sqlalchemy-i18n: internationalization
        options = !makeflags
-       source = 
https://github.com/kvesteri/sqlalchemy-continuum/archive/1.3.14/python-sqlalchemy-continuum-1.3.14.tar.gz
-       sha512sums = 
a48be0902516b95edeac28dd189f74e4831e6e9203099d86d5cbfe9c18914f57a98697501c58e631b99f85158d793feaf8dd69d212dad99a6fd429f8b4475a98
-       b2sums = 
32c293190c4b823c7206e38ed39bf55d9b005bfe5c1e17eaeec3e609bfde15aa29af45350c3ee5a8a2522ef28d6c7c8070a02380740deaa27dd728e24eabc270
+       source = 
https://files.pythonhosted.org/packages/source/s/sqlalchemy_continuum/sqlalchemy_continuum-1.4.2.tar.gz
+       sha512sums = 
fe6fe3a9c5ada2cffe25c9fcdf84bad48fcdacaf26276d774032ac6929f46fe93e9544d54bd549af47e6a8e6cc6fe09178646f251ffac95933bd0bcb45f0b959
+       b2sums = 
41d6fa3584fc4a9d146e24115f8861d80df8ccac368384dda7130af586d5fd4a2b338b03c1135b6c730dffd5ad60aedf546dad5fd9e3656ac15a96c9ea01a918
 
 pkgname = python-sqlalchemy-continuum


=====================================
PKGBUILD
=====================================
@@ -1,10 +1,10 @@
 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
 # Maintainer: Jelle van der Waa <[email protected]
 
-_pkgname=sqlalchemy-continuum
+_name=sqlalchemy-continuum
 pkgname=python-sqlalchemy-continuum
-pkgver=1.3.14
-pkgrel=4
+pkgver=1.4.2
+pkgrel=1
 pkgdesc='Versioning and auditing extension for SQLAlchemy'
 url='https://github.com/kvesteri/sqlalchemy-continuum'
 arch=('any')
@@ -19,23 +19,31 @@ optdepends=('python-flask: flask plugin'
             'python-flask-sqlalchemy: flask plugin'
             'python-sqlalchemy-i18n: internationalization')
 options=('!makeflags')
-source=(https://github.com/kvesteri/sqlalchemy-continuum/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha512sums=('a48be0902516b95edeac28dd189f74e4831e6e9203099d86d5cbfe9c18914f57a98697501c58e631b99f85158d793feaf8dd69d212dad99a6fd429f8b4475a98')
-b2sums=('32c293190c4b823c7206e38ed39bf55d9b005bfe5c1e17eaeec3e609bfde15aa29af45350c3ee5a8a2522ef28d6c7c8070a02380740deaa27dd728e24eabc270')
+source=(https://files.pythonhosted.org/packages/source/${_name::1}/${_name//-/_}/${_name//-/_}-${pkgver}.tar.gz)
+sha512sums=('fe6fe3a9c5ada2cffe25c9fcdf84bad48fcdacaf26276d774032ac6929f46fe93e9544d54bd549af47e6a8e6cc6fe09178646f251ffac95933bd0bcb45f0b959')
+b2sums=('41d6fa3584fc4a9d146e24115f8861d80df8ccac368384dda7130af586d5fd4a2b338b03c1135b6c730dffd5ad60aedf546dad5fd9e3656ac15a96c9ea01a918')
+
+prepare() {
+  cd ${_name/-/_}-${pkgver}
+  # Sphinx does not like the example config for intersphinx:
+  #   ERROR: Invalid value `None` in intersphinx_mapping[
+  #     'http://docs.python.org/']. Expected a two-element tuple or list.
+  sed -i '/^intersphinx_mapping =/d' docs/conf.py
+}
 
 build() {
-  cd ${_pkgname}-${pkgver}
+  cd ${_name/-/_}-${pkgver}
   python setup.py build
   make -C docs text man
 }
 
 check() {
-  cd ${_pkgname}-${pkgver}/tests
+  cd ${_name/-/_}-${pkgver}/tests
   DB=sqlite pytest -k 'not test_flask' || true
 }
 
 package() {
-  cd ${_pkgname}-${pkgver}
+  cd ${_name/-/_}-${pkgver}
   python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
   install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
   install -Dm 644 README.rst docs/_build/text/* -t 
"${pkgdir}/usr/share/doc/${pkgname}"



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-sqlalchemy-continuum/-/commit/6faf4f4dc66266009ae0c8f86a74cfcdd2e8b609

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-sqlalchemy-continuum/-/commit/6faf4f4dc66266009ae0c8f86a74cfcdd2e8b609
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to