vdirsyncer: update to 0.7.5

This commit is contained in:
Alessio Sergi 2015-12-29 16:29:50 +01:00
parent b6e41d70ea
commit 6d7a880d44
2 changed files with 3 additions and 39 deletions

View File

@ -1,36 +0,0 @@
From 4e8dbe9598cab324c5883f21257dd476c45815aa Mon Sep 17 00:00:00 2001
From: Markus Unterwaditzer <markus@unterwaditzer.net>
Date: Sun, 27 Dec 2015 23:38:02 +0100
Subject: [PATCH] Only pin down lxml version for PyPy
---
setup.py | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git setup.py setup.py
index 0a4efa6..bffa14b 100644
--- setup.py
+++ setup.py
@@ -11,6 +11,7 @@
from setuptools import find_packages, setup
+import platform
setup(
@@ -37,8 +38,12 @@
'click-threading',
# https://github.com/kennethreitz/requests/issues/2930
'requests !=2.9.0',
- # https://github.com/untitaker/vdirsyncer/issues/298
- 'lxml >=3.1, <=3.4.4',
+ 'lxml >=3.1' + (
+ # https://github.com/untitaker/vdirsyncer/issues/298
+ ', <=3.4.4'
+ if platform.python_implementation() == 'PyPy'
+ else ''
+ ),
# https://github.com/sigmavirus24/requests-toolbelt/pull/28
'requests_toolbelt >=0.5.0',
'atomicwrites'

View File

@ -1,7 +1,7 @@
# Template file for 'vdirsyncer' # Template file for 'vdirsyncer'
pkgname=vdirsyncer pkgname=vdirsyncer
version=0.7.4 version=0.7.5
revision=2 revision=1
noarch=yes noarch=yes
build_style=python-module build_style=python-module
hostmakedepends="python-setuptools" hostmakedepends="python-setuptools"
@ -13,7 +13,7 @@ maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"
license="MIT" license="MIT"
homepage="https://vdirsyncer.readthedocs.org/" homepage="https://vdirsyncer.readthedocs.org/"
distfiles="${PYPI_SITE}/v/${pkgname}/${pkgname}-${version}.tar.gz" distfiles="${PYPI_SITE}/v/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=cd3c3b8d7d82a51479392b26c1178f4c90555aba7137912dcd216888d447fbdd checksum=3f51c1fabac7f231327deb098998185cbd77564dc1bfc29f4bc8d89226c96a37
pre_build() { pre_build() {
sed -e '/use_scm_version/,/setuptools_scm/ d' \ sed -e '/use_scm_version/,/setuptools_scm/ d' \