mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-31 08:25:35 +00:00
setup: upgrade bundled version of darcsver to 1.7.1 to regain compatibility with Python 2.4
This commit is contained in:
parent
e03206cbdf
commit
b55dd7c811
@ -1,6 +1,6 @@
|
|||||||
Metadata-Version: 1.0
|
Metadata-Version: 1.0
|
||||||
Name: darcsver
|
Name: darcsver
|
||||||
Version: 1.7.0
|
Version: 1.7.1
|
||||||
Summary: generate a version number from darcs history
|
Summary: generate a version number from darcs history
|
||||||
Home-page: http://tahoe-lafs.org/trac/darcsver
|
Home-page: http://tahoe-lafs.org/trac/darcsver
|
||||||
Author: Zooko O'Whielacronx
|
Author: Zooko O'Whielacronx
|
@ -6,7 +6,7 @@
|
|||||||
# pyutil.version_class for a description of what the different fields mean.
|
# pyutil.version_class for a description of what the different fields mean.
|
||||||
|
|
||||||
__pkgname__ = "darcsver"
|
__pkgname__ = "darcsver"
|
||||||
verstr = "1.7.0"
|
verstr = "1.7.1"
|
||||||
try:
|
try:
|
||||||
from pyutil.version_class import Version as pyutil_Version
|
from pyutil.version_class import Version as pyutil_Version
|
||||||
__version__ = pyutil_Version(verstr)
|
__version__ = pyutil_Version(verstr)
|
@ -23,6 +23,12 @@ def validate_versionfiles(dist, attr, value):
|
|||||||
def validate_versionbodies(dist, attr, value):
|
def validate_versionbodies(dist, attr, value):
|
||||||
return validate_string_or_iter_of_strings(dist, attr, value)
|
return validate_string_or_iter_of_strings(dist, attr, value)
|
||||||
|
|
||||||
|
def all(iterator):
|
||||||
|
for thing in iterator:
|
||||||
|
if not thing:
|
||||||
|
return False
|
||||||
|
return True
|
||||||
|
|
||||||
PYTHON_VERSION_BODY='''
|
PYTHON_VERSION_BODY='''
|
||||||
# This is the version of this tree, as created by %(versiontool)s from the darcs patch
|
# This is the version of this tree, as created by %(versiontool)s from the darcs patch
|
||||||
# information: the main version number is taken from the most recent release
|
# information: the main version number is taken from the most recent release
|
Loading…
x
Reference in New Issue
Block a user