Package Details: git-buildpackage 0.9.36-1

Git Clone URL: https://aur.archlinux.org/git-buildpackage.git (read-only, click to copy)
Package Base: git-buildpackage
Description: Tools from Debian to integrate the package build system with Git
Upstream URL: https://honk.sigxcpu.org/piki/projects/git-buildpackage/
Licenses: GPL-2.0-or-later
Submitter: nirnakinho
Maintainer: harmathy (Excalibur)
Last Packager: Excalibur
Votes: 5
Popularity: 0.000000
First Submitted: 2015-08-20 15:46 (UTC)
Last Updated: 2024-12-25 09:08 (UTC)

Latest Comments

1 2 Next › Last »

harmathy commented on 2024-12-24 01:48 (UTC)

@Excalibur I added you as co-maintainer. Sice I'm currently engaged and will not be able to test and upload a new release for the next few days, please feel free to push the new version (you obviously already tested it successfully)!

Excalibur commented on 2024-12-23 08:24 (UTC)

Getting No package metadata was found for gbp once again. Upgrading to the latest 0.9.36 fixed it:

diff --git a/PKGBUILD b/PKGBUILD
index 3c65f43..12d6b7a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 # Contributor Patrick McCarty <pnorcks at gmail dot com>

 pkgname=git-buildpackage
-pkgver=0.9.34
+pkgver=0.9.36
 pkgrel=1
 pkgdesc="Tools from Debian to integrate the package build system with Git"
 arch=(any)
@@ -34,7 +34,7 @@ makedepends=('python-distribute'

 backup=('etc/git-buildpackage/gbp.conf')
 source=("git+https://github.com/agx/git-buildpackage.git#tag=debian/$pkgver")
-sha256sums=('da613ca194c2fe29ceffe7f0c6436585a2b0820663ff1189ec2032e239be85be')
+sha256sums=('f8ead462299dbb8023a2cd189f8e02fbcb592dd775402a2273df3a2b656a790c')

 build() {
   cd git-buildpackage

SwooshyCueb commented on 2024-04-25 02:08 (UTC)

Please replace the man-db dependency with man, so that mandoc can satisfy it.

denisse commented on 2024-03-22 15:01 (UTC)

It seems like sensible-utils 0.0.21-1 is no longer available at the specified address.

curl: (22) The requested URL returned error: 404
==> ERROR: Failure while downloading http://ftp.debian.org/debian/pool/main/s/sensible-utils/sensible-utils_0.0.21.tar.xz
    Aborting...
error: failed to download sources for 'sensible-utils-0.0.21-1 (sensible-utils-data sensible-browser sensible-editor)':
error: can't build devscripts-2.23.7-1, deps not satisfied: sensible-browser  sensible-editor
error: packages failed to build: sensible-utils-0.0.21-1 (sensible-utils-data sensible-browser sensible-editor)  devscripts-2.23.7-1

Excalibur commented on 2023-05-15 06:46 (UTC)

Installing 0.9.30 indeed fixed this issue for me. I have marked this package as out-of-date.

fixeria commented on 2023-05-08 15:46 (UTC)

Excalibur commented:

Currently getting this error when the command was working fine before: [...] Any idea what might be wrong?

Perhaps some incompatibility with Python 3.11. Version 0.9.25 is quite old (Nov 5, 2021), the 0.9.30 (Nov 25, 2022) seems to work fine. Here is a patch for the PKGBUILD:

diff --git a/PKGBUILD b/PKGBUILD
index 4556876..b9d5930 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
 # Contributor: Patrick McCarty <pnorcks at gmail dot com>

 pkgname=git-buildpackage
-pkgver=0.9.25
+pkgver=0.9.30
 pkgrel=1
 pkgdesc="Tools from Debian to integrate the package build system with Git"
 arch=(any)
@@ -51,5 +51,4 @@ package() {
   python setup.py install --root="$pkgdir" --prefix=/usr -O1
   install -m 644 -D -T "gbp.conf" "$pkgdir/etc/git-buildpackage/gbp.conf"
   install -m 644 -D -T debian/gbp.completion "$pkgdir/usr/share/bash-completion/completions/gbp"
-  install -m 644 -D -T debian/git-buildpackage.zsh-completion "$pkgdir/usr/share/zsh/site-functions/_gbp"
 }

I had to remove the zsh-completion file, because it's not present in the repository anymore.

Excalibur commented on 2023-05-05 09:10 (UTC)

Currently getting this error when the command was working fine before:

[excalibur@excalibur 8852be]$ gbp dch --debian-branch=main
Traceback (most recent call last):
  File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 563, in from_name
    return next(cls.discover(name=name))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
StopIteration

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/gbp", line 33, in <module>
    sys.exit(load_entry_point('gbp==0.9.25', 'console_scripts', 'gbp')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/bin/gbp", line 22, in importlib_load_entry_point
    for entry_point in distribution(dist_name).entry_points
                       ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 981, in distribution
    return Distribution.from_name(distribution_name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 565, in from_name
    raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: No package metadata was found for gbp

Any idea what might be wrong?

SwooshyCueb commented on 2022-06-09 15:08 (UTC)

If git-buildpackage is not incompatible with mandoc, man-db should be replaced with man in depends.

nirnakinho commented on 2019-04-23 18:10 (UTC)

thx for the hint, fixed in 0.9.14-1

harmathy commented on 2019-04-23 14:16 (UTC)

dpkg-parsechangelog is provided by dpkg. Therefore dpkg should be in makedepends.