Package Details: python-xlsx2csv 0.8.1-1

Git Clone URL: https://aur.archlinux.org/python-xlsx2csv.git (read-only, click to copy)
Package Base: python-xlsx2csv
Description: xlsx to csv converter
Upstream URL: https://github.com/dilshod/xlsx2csv
Licenses: MIT
Submitter: clarfonthey
Maintainer: kusanaginoturugi
Last Packager: kusanaginoturugi
Votes: 5
Popularity: 1.01
First Submitted: 2019-10-11 01:16 (UTC)
Last Updated: 2023-03-20 02:24 (UTC)

Latest Comments

1 2 Next › Last »

m040601 commented on 2023-05-04 01:28 (UTC) (edited on 2023-05-04 01:46 (UTC) by m040601)

I wonder if anyone can help me troubleshoot what might be wrong in my Arch system.

Tried again to install this tool but still failing. See my previous comment.

I then decided to test building it a python virtual environment,

python -m test_env_for_xlsx2csv

cd test_env_for_xlsx2csv

source bin/activate

pip install xlsx2cs

Worked. It built ok without any errors whatsover, and the tool works.

I just cant figure out why I cant build it with this PKGBUILD.

The only thing I see in that 55 line is , nvim python-xlsx2csv/src/xlsx2csv-0.8.1/man/pod2man.mk,

 55 makeman: $(MANPAGE)

Hhhhmmm ... No idea.

Any ideas ? Thanks in advance.

kusanaginoturugi commented on 2023-03-20 04:54 (UTC)

I created a systemd-nspawn container and tried to build python-xlsx2csv with ''makepkg -s'' with no problems.

m040601 commented on 2023-03-20 02:37 (UTC)

This PKGBUILD is currently, v0.8.1-1 failing to build with,

==> Entering fakeroot environment...
==> Starting package()...
make -f pod2man.mk PACKAGE=xlsx2csv makeman
make[1]: Entering directory '/dev/shm/aurydesty/python-xlsx2csv/src/xlsx2csv-0.8.1/man'
pod2man.mk:55: *** target pattern contains no '%'.  Stop.
make[1]: Leaving directory '/dev/shm/aurydesty/python-xlsx2csv/src/xlsx2csv-0.8.1/man'
make: *** [Makefile:12: man] Error 2
==> ERROR: A failure occurred in package().
    Aborting...

kusanaginoturugi commented on 2023-03-20 02:26 (UTC)

@not_anonymous Thanks.

not_anonymous commented on 2023-03-18 03:39 (UTC)

Well I tried a couple of times to paste the PKGBUILD I got working for version 0.8.1 including the necessary changes PLUS the included man page is now extent.

ALAS...that turned out to be a "bust"...

SO... I sent it to your email !!

kusanaginoturugi commented on 2023-03-17 05:50 (UTC) (edited on 2023-03-17 05:54 (UTC) by kusanaginoturugi)

I downloaded the Latest release and tried to build it with PEP 517, but it gave me an error and I could not update it. The xlsx2csv.py seems to be slightly different, but I'm not sure.

python -m build --wheel --no-isolation
* Getting build dependencies for wheel...
Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
    main()
  File "/usr/lib/python3.10/site-packages/pyproject_hooks/_in_process/_in_process.py", line 335, in main
    json_out['return_val'] = hook(**hook_input['kwargs'])
  File "/usr/lib/python3.10/site-packages/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
    return hook(config_settings)
  File "/usr/lib/python3.10/site-packages/setuptools/build_meta.py", line 338, in get_requires_for_build_wheel
    return self._get_build_requires(config_settings, requirements=['wheel'])
  File "/usr/lib/python3.10/site-packages/setuptools/build_meta.py", line 320, in _get_build_requires
    self.run_setup()
  File "/usr/lib/python3.10/site-packages/setuptools/build_meta.py", line 335, in run_setup
    exec(code, locals())
  File "<string>", line 1, in <module>
  File "/usr/lib/python3.10/site-packages/setuptools/__init__.py", line 108, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 147, in setup
    _setup_distribution = dist = klass(attrs)
  File "/usr/lib/python3.10/site-packages/setuptools/dist.py", line 488, in __init__
    _Distribution.__init__(
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 283, in __init__
    self.finalize_options()
  File "/usr/lib/python3.10/site-packages/setuptools/dist.py", line 912, in finalize_options
    ep(self)
  File "/usr/lib/python3.10/site-packages/setuptools_scm/integration.py", line 127, in infer_version
    _assign_version(dist, config)
  File "/usr/lib/python3.10/site-packages/setuptools_scm/integration.py", line 63, in _assign_version
    _version_missing(config)
  File "/usr/lib/python3.10/site-packages/setuptools_scm/__init__.py", line 108, in _version_missing
    raise LookupError(
LookupError: setuptools-scm was unable to detect version for /home/onoue/share/devel/ghq/aur.archlinux.org/python-xlsx2csv/src/xlsx2csv-0.8.1.

Make sure you're either building from a fully intact git repository or PyPI tarballs. Most other sources (such as GitHub's tarballs, a git checkout without the .git folder) don't contain the necessary metadata and will not work.

For example, if you're using pip, instead of https://github.com/user/proj/archive/master.zip use git+https://github.com/user/proj.git#egg=proj

ERROR Backend subprocess exited when trying to invoke get_requires_for_build_wheel

not_anonymous commented on 2023-03-17 04:50 (UTC)

New Release PLUS now using MIT apparently !