Package Details: python-url-normalize 1.4.3-17

Git Clone URL: https://aur.archlinux.org/python-url-normalize.git (read-only, click to copy)
Package Base: python-url-normalize
Description: URL normalization for Python
Upstream URL: https://github.com/niksite/url-normalize
Keywords: normalization uri
Licenses: MIT
Submitter: Kernald
Maintainer: carlosal1015 (JWCook, AutoUpdateBot)
Last Packager: carlosal1015
Votes: 9
Popularity: 0.002618
First Submitted: 2021-05-05 00:38 (UTC)
Last Updated: 2023-05-05 17:33 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

carlosal1015 commented on 2021-08-11 18:50 (UTC) (edited on 2021-08-11 18:52 (UTC) by carlosal1015)

Actually @emacsomancer, in previous change, there was line 36 rm -r /path/to/__ pycache__, I think from now on it shouldn't include that phrase.

emacsomancer commented on 2021-08-11 18:19 (UTC) (edited on 2021-08-11 18:19 (UTC) by emacsomancer)

@carlosal1015 - Just tried again, and it built this time with no issues. Perhaps it was some transient issue somewhere in the build chain?

carlosal1015 commented on 2021-08-11 17:08 (UTC) (edited on 2021-08-11 17:19 (UTC) by carlosal1015)

Hi @emacsomancer, @flying-sheep both, I am upgrading following this https://github.com/archlinux/svntogit-community/blob/packages/jedi-language-server/trunk/PKGBUILD example.

First output:

==> Starting build()...
* Building wheel...
Successfully built url_normalize-1.4.3-py2.py3-none-any.whl

Second output:

----------- coverage: platform linux, python 3.9.6-final-0 -----------
Name                     Stmts   Miss  Cover   Missing
------------------------------------------------------
url_normalize/tools.py      29      1    97%   68
------------------------------------------------------
TOTAL                      112      1    99%

2 files skipped due to complete coverage.

Required test coverage of 99% reached. Total coverage: 99.11%

================================================================================ 32 passed in 0.24s ================================================================================
_____________________________________________________________________________________ summary ______________________________________________________________________________________
  py39: commands succeeded
  congratulations :)

Third output:

==> Starting package()...
['/usr/lib/python3.9/site-packages/install/_vendor/installer/src', '/tmp/makepkg/python-url-normalize/src/url-normalize-1.4.3', '/usr/lib/python39.zip', '/usr/lib/python3.9', '/usr/lib/python3.9/lib-dynload', '/usr/lib/python3.9/site-packages']
Listing '.install-cache/pkg'...
Listing '.install-cache/pkg/url_normalize'...
Compiling '.install-cache/pkg/url_normalize/__init__.py'...
Compiling '.install-cache/pkg/url_normalize/tools.py'...
Compiling '.install-cache/pkg/url_normalize/url_normalize.py'...
Listing '.install-cache/pkg/url_normalize-1.4.3.dist-info'...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "python-url-normalize"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: python-url-normalize 1.4.3-5 (Wed 11 Aug 2021 12:15:21 PM -05)
==> Cleaning up...
loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (1) python-url-normalize-1.4.3-5

Total Installed Size:  0.02 MiB

Fourth output:

.BUILDINFO
.MTREE
.PKGINFO
usr/
usr/lib/
usr/lib/python3.9/
usr/lib/python3.9/site-packages/
usr/lib/python3.9/site-packages/url_normalize/
usr/lib/python3.9/site-packages/url_normalize-1.4.3.dist-info/
usr/lib/python3.9/site-packages/url_normalize-1.4.3.dist-info/LICENSE
usr/lib/python3.9/site-packages/url_normalize-1.4.3.dist-info/METADATA
usr/lib/python3.9/site-packages/url_normalize-1.4.3.dist-info/RECORD
usr/lib/python3.9/site-packages/url_normalize-1.4.3.dist-info/WHEEL
usr/lib/python3.9/site-packages/url_normalize/__init__.py
usr/lib/python3.9/site-packages/url_normalize/__pycache__/
usr/lib/python3.9/site-packages/url_normalize/__pycache__/__init__.cpython-39.opt-1.pyc
usr/lib/python3.9/site-packages/url_normalize/__pycache__/tools.cpython-39.opt-1.pyc
usr/lib/python3.9/site-packages/url_normalize/__pycache__/url_normalize.cpython-39.opt-1.pyc
usr/lib/python3.9/site-packages/url_normalize/tools.py
usr/lib/python3.9/site-packages/url_normalize/url_normalize.py
usr/share/
usr/share/licenses/
usr/share/licenses/python-url-normalize/
usr/share/licenses/python-url-normalize/LICENSE

emacsomancer commented on 2021-08-11 16:45 (UTC)

fails with error .../python-url-normalize/pkg/python-url-normalize/usr/lib/python3.9/site-packages/url_normalize/__pycache__': No such file or directory ==> ERROR: A failure occurred in package().

flying-sheep commented on 2021-08-11 10:20 (UTC)

I filed and issue: https://github.com/python-poetry/poetry/issues/4374

flying-sheep commented on 2021-08-11 10:01 (UTC)

Same. Poetry just doesn’t add the actual module to the wheel.

willemw commented on 2021-06-23 05:05 (UTC) (edited on 2021-08-11 19:20 (UTC) by willemw)

Running on x86_64. It does install the other files, only not the Python files.

Tried several things: with makepkg and paru (in and outside a systemd-nspawn container); in a clean chroot environment.

A "pip install" with a single --verbose did not show any differences.

carlosal1015 commented on 2021-06-23 03:02 (UTC)

You're welcome @mosh5382. Thanks @willemw, I did not know about this problem. Only curious, are you running in Raspberry or 32bits?

willemw commented on 2021-06-22 15:38 (UTC)

Should be: arch=('any').

(In some cases the Python files are not installed in pkgdir. Have not figured out what causes this.)

mosh5382 commented on 2021-06-21 17:32 (UTC)

@carlosal1015 - it appears you are correct. I see only "six" as a dependency. Sorry for the confusion. Thanks for adopting this package.