summaryrefslogtreecommitdiff
path: root/dev-python/pycapnp/files/sdist.patch
diff options
context:
space:
mode:
authorPalica <palica+gitlab@liguros.net>2020-06-23 22:35:08 +0200
committerPalica <palica+gitlab@liguros.net>2020-06-23 22:35:08 +0200
commitecdac123787b96ce6649f0f91da12ea6458cc2b1 (patch)
treeb89c74d9e6fe6e8aebc4c77bcbeb4ab73214127d /dev-python/pycapnp/files/sdist.patch
parent1be72aa41cf41dedadeecf59dca9f01de6381f5e (diff)
downloadbaldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.gz
baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.xz
baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.zip
Updating liguros repo
Diffstat (limited to 'dev-python/pycapnp/files/sdist.patch')
-rw-r--r--dev-python/pycapnp/files/sdist.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-python/pycapnp/files/sdist.patch b/dev-python/pycapnp/files/sdist.patch
new file mode 100644
index 000000000000..e4ef16ec5699
--- /dev/null
+++ b/dev-python/pycapnp/files/sdist.patch
@@ -0,0 +1,13 @@
+Index: pycapnp-0.6.4/setup.py
+===================================================================
+--- pycapnp-0.6.4.orig/setup.py
++++ pycapnp-0.6.4/setup.py
+@@ -49,7 +49,7 @@ try:
+ changelog = '\nChangelog\n=============\n' + changelog
+ long_description += changelog
+ except (IOError, ImportError):
+- if sys.argv[2] == 'sdist':
++ if len(sys.argv) > 2 and sys.argv[2] == 'sdist':
+ raise
+ long_description = ''
+