Skip to content
Snippets Groups Projects
Commit 0fc5de62 authored by Fabian Affolter's avatar Fabian Affolter Committed by Natanael Copa
Browse files

testing/py-dulwich: upgrade to 0.18.6 and fix CVE-2017-16228

parent d2cd24db
No related branches found
No related tags found
No related merge requests found
......@@ -2,12 +2,13 @@
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-dulwich
_pkgname=dulwich
pkgver=0.15.0
pkgrel=1
pkgver=0.18.6
pkgrel=0
pkgdesc="A python implementation of the Git file formats and protocols"
url="https://www.dulwich.io"
arch="all"
license="GPL2+ or ASL 2.0"
options="!check" # Tests are failing (http-backend)
makedepends="python2-dev python3-dev py-setuptools"
subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3"
source="https://www.dulwich.io/releases/$_pkgname-$pkgver.tar.gz"
......@@ -15,10 +16,16 @@ builddir="$srcdir"/$_pkgname-$pkgver
build() {
cd "$builddir"
python2 setup.py build || return 1
python3 setup.py build || return 1
python2 setup.py build
python3 setup.py build
}
#check() {
# cd "$builddir"
# PYTHONHASHSEED=random PYTHONPATH=.: python -m unittest dulwich.tests.test_suite
# PYTHONHASHSEED=random PYTHONPATH=.: python3 -m unittest dulwich.tests.test_suite
#}
package() {
mkdir -p "$pkgdir"
}
......@@ -41,6 +48,4 @@ _py() {
$python setup.py install --prefix=/usr --root="$subpkgdir" || return 1
}
md5sums="398734f570f140806fdd7958575d5db0 dulwich-0.15.0.tar.gz"
sha256sums="6f0a09d93f01caf1ba054b3f751d5cc1f0e6afc5c97fd23d67d7acf92f0d0b16 dulwich-0.15.0.tar.gz"
sha512sums="a0d6b56281513d16e830f234a9baa285b63098256ced7884b084fcd14210b60f2cd5e80bc18b74a7adcab509d5a9ebbb399746fd074083174b5922315af55cc4 dulwich-0.15.0.tar.gz"
sha512sums="2d2120e23dd4bc2c9dcfe601f21ac757ee3fe2a343923c50b32c067f4d329ac89cdf0894bff450bf52c69e99759bb8692f0f14ed73d01be6bc3b0402d58d1148 dulwich-0.18.6.tar.gz"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment