Package Details: dput 1.1.3-1

Git Clone URL: https://aur.archlinux.org/dput.git (read-only, click to copy)
Package Base: dput
Description: Debian package upload tool
Upstream URL: http://packages.qa.debian.org/dput
Licenses: GPL
Submitter: Misery
Maintainer: javmorin
Last Packager: javmorin
Votes: 18
Popularity: 0.000000
First Submitted: 2007-12-10 22:25 (UTC)
Last Updated: 2023-02-23 22:28 (UTC)

Latest Comments

1 2 3 Next › Last »

cschramm commented on 2022-10-28 19:30 (UTC)

Yes, looks all good now. Thanks a lot for your work!

javmorin commented on 2022-10-27 17:56 (UTC) (edited on 2022-10-27 17:58 (UTC) by javmorin)

I have pushed an -4 release. This adds a compatibility patch which restores proper function in my testing.

@cschramm can you confirm it works on your side?

javmorin commented on 2022-10-13 18:49 (UTC)

@cschramm - This is going to take me a bit to resolve, but I will try to work on this soon. As there isn't an active python-xdg package, and it would conflict with the "official" python-pyxdg package, I think the best option is to patch dput to use the new package. I wish upstream had chosen this path, rather than patching their xdg/pyxdg package as they have done.

cschramm commented on 2022-10-13 11:06 (UTC)

Thanks for your effort and responsiveness!

Unfortunately, there's more incompatibility... :/ dput expects Debian's "xdg 5 compability layer" [1], specifically configfile.py tries to use xdg.xdg_config_home.

[1] https://sources.debian.org/patches/pyxdg/0.27-2/add-an-xdg-5-compatibility-layer.patch/

javmorin commented on 2022-10-13 01:56 (UTC) (edited on 2022-10-13 01:57 (UTC) by javmorin)

@cschramm - regarding the dependency name, this is a naming discrepancy between upstream, Debian and Arch names for the same package.

In Debian (for sid at least): dput depends on python3-xdg which is sourced from https://www.freedesktop.org/wiki/Software/pyxdg/ and provides the xdg python module. Note: Debian overrides the distribution name while building, so that it is built as xdg, and thus setting the stage for our breakage.

In Arch, packages are typically named after the upstream name - in this case pyxdg - and minimally modified, thus there is a python-pyxdg package containing a pyxdg distribution linked to xdg python module. It does not override the distribution name on build.

As dput (arguably unnecessarily) verifies the dependencies by distribution name upon startup, it looks for an xdg distribution where (correctly) none exists. I have just pushed a -3 version of this package that now patches the internal dependencies of dput to depend on the pyxdg distribution and dput now runs without error.

Apologies to all for the issues with this update. I haven't been using dput a lot recently, so the bugs slipped by. I will endeavor to do better in future.

cschramm commented on 2022-10-12 21:25 (UTC)

I might be missing something, but python-pyxdg does not seem appropriate as it provides a package called pyxdg while dput expects a package called xdg.

I'm thus getting

pkg_resources.DistributionNotFound: The 'xdg' distribution was not found and is required by dput

when calling dput.

javmorin commented on 2022-09-30 16:11 (UTC)

@Teeed thanks for that catch. I have pushed pkgrev 2 with the added dependency.

Teeed commented on 2022-09-30 08:58 (UTC)

Missing dependency to python-pyxdg...

javmorin commented on 2018-11-10 18:30 (UTC)

@jatone

The error you reported is due to the hard-coding of paths that was used, because it is expecting the installed files to be in /usr/bin but they are being placed in /usr/miniconda3/bin. I will see if I can find a workaround, but that may take a bit of time so you are going to need to patch/work-around this issue locally for the moment.

Unfortunately, because of how dependencies are resolved, I cannot restrict it to just use the "official" version of python without indicating conflict with all other possible distributions, so that is a non-starter.

Sorry you are having to jump through hoops.

jatone commented on 2018-11-10 11:22 (UTC) (edited on 2018-11-10 11:24 (UTC) by jatone)

please hardcode the correct python to use, miniconda and other python environments interfere with the installation process.

/shared/user/miniconda3/bin/python /tmp/tmpjtgeq_5m.py

removing /tmp/tmpjtgeq_5m.py

running install_egg_info

running egg_info

creating dput.egg-info

writing dput.egg-info/PKG-INFO

writing dependency_links to dput.egg-info/dependency_links.txt

writing entry points to dput.egg-info/entry_points.txt

writing requirements to dput.egg-info/requires.txt

writing top-level names to dput.egg-info/top_level.txt

writing manifest file 'dput.egg-info/SOURCES.txt'

reading manifest file 'dput.egg-info/SOURCES.txt'

writing manifest file 'dput.egg-info/SOURCES.txt'

Copying dput.egg-info to /shared/user/.cache/yay/dput/pkg/dput/shared/user/miniconda3/lib/python3.6/site-packages/dput-1.0.2-py3.6.egg-info

running install_scripts

Installing execute-dcut script to /shared/user/.cache/yay/dput/pkg/dput/shared/user/miniconda3/bin

Installing execute-dput script to /shared/user/.cache/yay/dput/pkg/dput/shared/user/miniconda3/bin

mv: cannot stat '/shared/user/.cache/yay/dput/pkg/dput/usr/bin/execute-dput': No such file or directory