Skip to content
Snippets Groups Projects
Commit 870af0b7cdf9 authored by Armin Rigo's avatar Armin Rigo
Browse files

source-only update, to version number 1.14.4-1

parent bc6648a47347
No related branches found
Tags v1.14.4-1
No related merge requests found
......@@ -52,5 +52,5 @@
* https://pypi.python.org/pypi/cffi
* Checksums of the "source" package version 1.14.4:
* Checksums of the "source" package version 1.14.4-1:
......@@ -56,3 +56,3 @@
- MD5: ad3d8537b1516bad6bcdc36c458788be
- MD5: ...
......@@ -58,3 +58,3 @@
- SHA: 45bd57a0903a2d63b93461e096c5d291875a457b
- SHA: ...
......@@ -60,5 +60,5 @@
- SHA256: 1a465cbe98a7fd391d47dce4b8f7e5b921e6cd805ef421d04f5f66ba8f06086c
- SHA256: ...
* Or grab the most current version from the `Heptapod page`_:
``hg clone https://foss.heptapod.net/pypy/cffi``
......
......@@ -36,7 +36,12 @@
v = cffi.__version__.replace('+', '')
p = os.path.join(parent, 'doc', 'source', 'installation.rst')
content = open(p).read()
assert (" package version %s:" % v) in content
if " package version %s:" % v not in content:
for i in range(5):
if " package version %s-%d:" % (v, i) in content:
break
else:
assert 0, "doc/source/installation.rst needs updating"
def test_setup_version():
parent = os.path.dirname(os.path.dirname(cffi.__file__))
......
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