diff options
author | Maks Verver | 2025-04-13 20:29:21 +0200 |
---|---|---|
committer | Maks Verver | 2025-04-13 20:31:26 +0200 |
commit | 2f5ee7a994c62127b58da72f3df695a72974aaea (patch) | |
tree | 7926ed3ad31128be6ca130f7e2eb7dc098e25d62 /PKGBUILD | |
parent | bce193127001dda6ab23945e0948c9807f2c1cba (diff) | |
download | aur-2f5ee7a994c62127b58da72f3df695a72974aaea.tar.gz |
Update to version 3.16
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 26 |
1 files changed, 5 insertions, 21 deletions
@@ -1,8 +1,8 @@ # Maintainer: Maks Verver <maks@verver.ch> pkgname=python-reader _name=reader -pkgver=3.14 -pkgrel=2 +pkgver=3.16 +pkgrel=1 pkgdesc='Python feed reader library for RSS, Atom, and JSON feeds' arch=(any) url='https://github.com/lemon24/reader' @@ -35,22 +35,9 @@ checkdepends=( python-requests-mock ) source=( - "$pkgname-$pkgver.tar.gz::https://github.com/lemon24/$_name/archive/refs/tags/$pkgver.tar.gz" - "$pkgname-test_lazy_imports.patch::https://github.com/lemon24/reader/commit/63e8ec34bb6fd7c68a0e2ffa4178634947472d5c.patch" - "$pkgname-test_disk_storage_has_attached_database.patch::https://github.com/lemon24/reader/pull/351/commits/5f8b2af3b9a319c03eae045aa0e0d6a666bf531e.patch" - "$pkgname-test_parser_selection.patch" + "$_name-$pkgver.tar.gz::https://github.com/lemon24/$_name/archive/refs/tags/$pkgver.tar.gz" ) -sha256sums=('341d9362d1807208306196b879fba1f686bce6cbbfde34e7796e3c049ee9bfd6' - 'b392238a61a4c2c208d2d7c1319d329c9c0b25149f82736882467aef4466f3ef' - '6226f8f32a8e8febffa53c01d727303a56ab6d366393c8bc91e7b394b22f223d' - 'f0c61172e2fba35f92c4b3483dd1fef25227690b17009bb57f37b7bdfbccf5df') - -prepare() { - cd "$_name-$pkgver" - patch -p1 -i "$srcdir/$pkgname-test_lazy_imports.patch" - patch -p1 -i "$srcdir/$pkgname-test_disk_storage_has_attached_database.patch" - patch -p1 -i "$srcdir/$pkgname-test_parser_selection.patch" -} +sha256sums=('16ba11ec46cdff10adbbcd04bf7b0b1c749ae6461a169a83f637d10740326a29') build() { cd "$_name-$pkgver" @@ -59,10 +46,7 @@ build() { check() { cd "$_name-$pkgver" - - # Run all tests, including slow tests. - # XDG_CONFIG_HOME is set to work around: https://github.com/lemon24/reader/issues/355 - XDG_CONFIG_HOME=/nonexistent PYTHONPATH=src/ pytest --runslow + PYTHONPATH=src/ pytest --runslow } package() { |