Package Details: python2-dulwich 0.18.5-2

Git Clone URL: https://aur.archlinux.org/python2-dulwich.git (read-only)
Package Base: python2-dulwich
Description: Pure-Python implementation of the Git file formats and protocols
Upstream URL: https://www.dulwich.io/
Licenses: GPL2
Submitter: felipec
Maintainer: drrossum
Last Packager: drrossum
Votes: 108
Popularity: 0.176274
First Submitted: 2013-09-22 18:00
Last Updated: 2017-11-16 07:25

Latest Comments

andybz commented on 2017-11-24 02:38

@drrossum: Just noticed the new version today as I was updating one of my machines. Changes look great. Thanks very much for your efforts!

drrossum commented on 2017-11-16 07:28

@andybz I have adopted your suggestions and renamed the python2-dulwich binaries to avoid the conflict

andybz commented on 2017-11-15 22:21

Hi effeeffe,

When building this package in a clean chroot (using clean-chroor-manager from AUR), I get an error that python2 isn't available. You need to list this as a build dependency because you're using it in the build() stage of your PKGBUILD.

It's also helpful to be able to install the python2/3 versions together sometimes when other python packages depend on it. Other packages will require the Python libraries (which wouldn't conflict between py2/3) so you should consider renaming the bins from the python2 version so they don't conflict (which seems to be the standard). See the python2 build stage of https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=python-os-testr for an example.

I'm building python-reno and am running into issues because of this.

Thanks

polyzen commented on 2017-10-31 03:34

Please use the ``dulwich-$pkgver`` releases:

> 2017-04-11 19:18:31 dmc jelmer, could you explain what those other tags are?
> 2017-04-11 19:18:38 dmc upstream/0_git20170328 and such
> 2017-04-11 19:19:45 jelmer dmc: they're used by the debian packaging - the snapshots of the upstream branch that the debian versions are based off

MadMe commented on 2017-10-28 12:34

PGP Signature Problem
==> Verifying source file signatures with gpg...
dulwich-0.18.3.tar.gz ... FAILED
==> ERROR: One or more PGP signatures could not be verified!
==> ERROR: Makepkg was unable to build python2-dulwich.

when i try:

gpg --recv-keys 1DF7EADF3B648883
key 00806F2BD729A457:
1400 signatures not checked due to missing keys
gpg: key 00806F2BD729A457: "Jelmer Vernoo\xc4\xb3 <jelmer@jelmer.uk>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1

any hint?

effeeffe commented on 2017-09-19 10:02

This is a split package, it contains two packages that conflicts with each other, and this NOT is by mistake (see previous comments). No need to change the PKGBUILD as suggested by some comments: after building (makepkg) simply install only the package you need (pacman -U), which can be either python-dulwich or python2-dulwich. makepkg -i will try to install both, failing because of the conflict.

At least, this is my understanding. If this is correct, maybe it is worth a pinned comment.

tobias.bln commented on 2017-09-16 15:48

1. gpg --recv-keys 1DF7EADF3B648883

2. +++ Edited PKGBUILD for python2-dulwich Version 0.18.3 +++

# Maintainer: Timothée Ravier <tim@siosm.fr>

pkgname=(python2-dulwich)
pkgver=0.18.3
pkgrel=1
pkgdesc='Pure-Python implementation of the Git file formats and protocols'
arch=('any')
url='https://www.dulwich.io/'
license=('GPL2')
depends=()
options=(!emptydirs)
source=("https://www.dulwich.io/releases/dulwich-${pkgver}.tar.gz"{,.asc})
validpgpkeys=('DC837EE14A7E37347E87061700806F2BD729A457') # Jelmer Vernooij
sha256sums=('d34c2628f89a5ac632fa462b2edd5afcfbf512793cfa14452d4c52f786962a8a'
'SKIP')

build() {
cd "dulwich-${pkgver}"
python2 setup.py build
}

package_python2-dulwich() {
depends=('python2')
conflicts=('python-dulwich')
cd "dulwich-${pkgver}"
python2 setup.py install --root="$pkgdir/" --skip-build --optimize=1
}

# vim:set ts=2 sw=2 et:

gokkep commented on 2017-09-16 11:06

Trying to install package rabbitcvs-nemo on 4.12.13-1-ARCH.
Get a conflict with this package.
When doing: packer python-dulwich I get,

loading packages...
resolving dependencies...
looking for conflicting packages...
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: python2-dulwich and python-dulwich are in conflict

Okay solved by using the comment on 2017-08-08 11:24. During the build I edited the PKGBUILD and removed the original content with the content of that comment and could install!!
I am not able to solve this, what can I do?

nobicycle commented on 2017-08-13 03:22

Regarding 9A2D24A504D1E9F8 ...

Where to go to "verify the authenticity of the retrieved public key by comparing its fingerprint with one that the owner published on an independent source(s) (i.e., contacting the person directly)"
https://wiki.archlinux.org/index.php/GnuPG

Even if the security check above is ignored, it seems the keyservers don't work anyway:

$ gpg --recv-keys 9A2D24A504D1E9F8
gpg: keyserver receive failed: Server indicated a failure
$ gpg --keyserver pool.sks-keyservers.net --recv-keys 9A2D24A504D1E9F8
gpg: keyserver receive failed: Connection closed in DNS
$ gpg --keyserver ha.pool.sks-keyservers.net --recv-keys 9A2D24A504D1E9F8
gpg: keyserver receive failed: Connection closed in DNS

tobias.bln commented on 2017-08-08 11:24

+++ Edited PKGBUILD for python2-dulwich +++

# Maintainer: Timothée Ravier <tim@siosm.fr>

pkgname=(python2-dulwich)
pkgver=0.17.2
pkgrel=1
pkgdesc='Pure-Python implementation of the Git file formats and protocols'
arch=('any')
url='https://www.dulwich.io/'
license=('GPL2')
depends=()
options=(!emptydirs)
source=("https://www.dulwich.io/releases/dulwich-${pkgver}.tar.gz"{,.asc})
validpgpkeys=('DC837EE14A7E37347E87061700806F2BD729A457') # Jelmer Vernooij
sha256sums=('90b5c1025f60c68b98980f85950860b980692053c7c5dd93c19cc3cb87f186b2'
'SKIP')

build() {
cd "dulwich-${pkgver}"
python2 setup.py build
}

package_python2-dulwich() {
depends=('python2')
conflicts=('python-dulwich')
cd "dulwich-${pkgver}"
python2 setup.py install --root="$pkgdir/" --skip-build --optimize=1
}

# vim:set ts=2 sw=2 et:

All comments