Package Details: python-paginate 0.5.7-1

Git Clone URL: https://aur.archlinux.org/python-paginate.git (read-only, click to copy)
Package Base: python-paginate
Description: A simple Python pagination module
Upstream URL: https://github.com/Pylons/paginate
Keywords: pagination python
Licenses: MIT
Submitter: kevr
Maintainer: HurricanePootis
Last Packager: HurricanePootis
Votes: 1
Popularity: 0.000000
First Submitted: 2021-08-19 07:23 (UTC)
Last Updated: 2024-11-10 04:38 (UTC)

Latest Comments

simona commented on 2024-11-10 09:21 (UTC)

now ok

simona commented on 2023-11-04 15:41 (UTC)

same error: "ModuleNotFoundError: No module named 'paginate'" like the one of @vedranmiletic

HurricanePootis commented on 2023-10-28 05:44 (UTC)

Just get rid of pytest please, the package can't build

djallits commented on 2023-10-04 13:52 (UTC) (edited on 2023-10-04 13:52 (UTC) by djallits)

The last tagged release is 0.5.6 from Nov 22, 2016. So this package should not be flagged as out of date. Granted, there has been some activity in the upstream repo since 2016, but without a tagged release. If you want the bleeding edge, maybe create a python-paginate-git AUR package?

AzureZeng commented on 2023-09-27 05:39 (UTC)

@vedranmiletic

diff --git a/PKGBUILD b/PKGBUILD
index a134c0f..5bdc70a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -23,7 +23,7 @@ build() {

 check() {
     cd "$srcdir"/paginate-$pkgver
-    pytest tests
+    #pytest tests
 }

 package() {

vedranmiletic commented on 2023-09-26 17:33 (UTC)

Build fails with:

==> Making package: python-paginate 0.5.6-1 (utorak, 26. rujna 2023. 19:32:34 CEST)
==> Retrieving sources...
-> Found 0.5.6.tar.gz
==> Validating source files with sha256sums...
0.5.6.tar.gz ... Passed
==> Making package: python-paginate 0.5.6-1 (utorak, 26. rujna 2023. 19:32:35 CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found 0.5.6.tar.gz
==> Validating source files with sha256sums...
0.5.6.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting 0.5.6.tar.gz with bsdtar
==> Sources are ready.
python-paginate-0.5.6-1: raščlanjivanje pkg list...
==> Making package: python-paginate 0.5.6-1 (utorak, 26. rujna 2023. 19:32:38 CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
running build
running build_py
creating build
creating build/lib
creating build/lib/paginate
copying paginate/__init__.py -> build/lib/paginate
copying paginate/ext_reverse.py -> build/lib/paginate
running egg_info
writing paginate.egg-info/PKG-INFO
writing dependency_links to paginate.egg-info/dependency_links.txt
writing top-level names to paginate.egg-info/top_level.txt
writing manifest file 'paginate.egg-info/SOURCES.txt'
reading manifest file 'paginate.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.ini'
warning: no files found matching '*.cfg'
warning: no files found matching '*.rst'
warning: no files found matching '*.png' under directory '*.ico'
warning: no files found matching '*.css' under directory '*.ico'
warning: no files found matching '*.gif' under directory '*.ico'
warning: no files found matching '*.jpg' under directory '*.ico'
warning: no files found matching '*.pt' under directory '*.ico'
warning: no files found matching '*.txt' under directory '*.ico'
warning: no files found matching '*.mak' under directory '*.ico'
warning: no files found matching '*.mako' under directory '*.ico'
warning: no files found matching '*.js' under directory '*.ico'
warning: no files found matching '*.html' under directory '*.ico'
warning: no files found matching '*.xml' under directory '*.ico'
adding license file 'LICENSE'
writing manifest file 'paginate.egg-info/SOURCES.txt'
==> Starting check()...
============================================ test session starts =============================================
platform linux -- Python 3.11.5, pytest-7.4.2, pluggy-1.3.0
rootdir: /home/vedranm/.cache/paru/clone/python-paginate/src/paginate-0.5.6
plugins: anyio-3.7.1, cov-4.1.0
collected 0 items / 1 error

=================================================== ERRORS ===================================================
__________________________________ ERROR collecting tests/test_paginate.py ___________________________________
ImportError while importing test module '/home/vedranm/.cache/paru/clone/python-paginate/src/paginate-0.5.6/tests/test_paginate.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.11/importlib/__init__.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/test_paginate.py:8: in <module>
import paginate
E   ModuleNotFoundError: No module named 'paginate'
========================================== short test summary info ===========================================
ERROR tests/test_paginate.py
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
============================================== 1 error in 0.11s ==============================================
==> ERROR: A failure occurred in check().
Aborting...

Any ideas why?