pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-mercurial
Module Name: pkgsrc
Committed By: riastradh
Date: Wed Jun 14 11:07:26 UTC 2023
Modified Files:
pkgsrc/devel/py-mercurial: distinfo
Added Files:
pkgsrc/devel/py-mercurial/patches: patch-setup.py
Log Message:
devel/py-mercurial: Make this cross-compile.
To generate a diff of this commit:
cvs rdiff -u -r1.131 -r1.132 pkgsrc/devel/py-mercurial/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-mercurial/patches/patch-setup.py
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/py-mercurial/distinfo
diff -u pkgsrc/devel/py-mercurial/distinfo:1.131 pkgsrc/devel/py-mercurial/distinfo:1.132
--- pkgsrc/devel/py-mercurial/distinfo:1.131 Sun May 7 11:57:39 2023
+++ pkgsrc/devel/py-mercurial/distinfo Wed Jun 14 11:07:26 2023
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.131 2023/05/07 11:57:39 wiz Exp $
+$NetBSD: distinfo,v 1.132 2023/06/14 11:07:26 riastradh Exp $
BLAKE2s (mercurial-6.4.3.tar.gz) = 0dd06d30bbaeebbd96c61e577ab3a35e4fbbfb8a356709e56b4ebe434aef4aab
SHA512 (mercurial-6.4.3.tar.gz) = f212558ef3f60f32d8da05dbe47c64d59cfc7cd69718237452567b2c92cc2d0778bc49b9096e9613b8cc7f99da409f95360d07a57818e7626cb633ee03e1c749
Size (mercurial-6.4.3.tar.gz) = 8177396 bytes
+SHA1 (patch-setup.py) = 5d5fb792b3f6c714ad11d6ff21d7b40f8182d1a6
SHA1 (patch-tests_test-revlog-delta-find.t) = 4af19d6ece17d0aa12ce504fcdd1662812d993cb
Added files:
Index: pkgsrc/devel/py-mercurial/patches/patch-setup.py
diff -u /dev/null pkgsrc/devel/py-mercurial/patches/patch-setup.py:1.1
--- /dev/null Wed Jun 14 11:07:26 2023
+++ pkgsrc/devel/py-mercurial/patches/patch-setup.py Wed Jun 14 11:07:26 2023
@@ -0,0 +1,23 @@
+$NetBSD: patch-setup.py,v 1.1 2023/06/14 11:07:26 riastradh Exp $
+
+Skip existence check for Python.h so this can be cross-compiled.
+
+The pkgsrc toolchain wrapper will interpose a sysroot to resolve the
+.h file reference.
+
+--- setup.py.orig 2023-05-04 12:17:18.000000000 +0000
++++ setup.py
+@@ -639,13 +639,6 @@ class hgbuildpy(build_py):
+
+ exts.append(osutilbuild.ffi.distutils_extension())
+ self.distribution.ext_modules = exts
+- else:
+- h = os.path.join(get_python_inc(), 'Python.h')
+- if not os.path.exists(h):
+- raise SystemExit(
+- 'Python headers are required to build '
+- 'Mercurial but weren\'t found in %s' % h
+- )
+
+ def run(self):
+ basepath = os.path.join(self.build_lib, 'mercurial')
Home |
Main Index |
Thread Index |
Old Index