[pybind11] 02/09: Initialize git-dpm
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Fri Dec 23 16:56:34 UTC 2016
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch master
in repository pybind11.
commit 84b7bfe737cb2e4e398f78d9bdf13cdba6944cbf
Merge: c939d97 c775881
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date: Fri Dec 23 16:15:57 2016 +0000
Initialize git-dpm
debian/.git-dpm | 8 ++++++++
...ude-path.patch => 0001-Use-system-include-path.patch} | 1 +
debian/patches/series | 2 +-
pybind11/__init__.py | 8 +-------
setup.py | 16 ----------------
5 files changed, 11 insertions(+), 24 deletions(-)
diff --cc debian/.git-dpm
index 0000000,0000000..175196a
new file mode 100644
--- /dev/null
+++ b/debian/.git-dpm
@@@ -1,0 -1,0 +1,8 @@@
++# see git-dpm(1) from git-dpm package
++c775881fbf92234cefbe34ad5a62726fedbd3557
++c775881fbf92234cefbe34ad5a62726fedbd3557
++6b567a7029dee46377c99503a97a39dbe06abfd1
++6b567a7029dee46377c99503a97a39dbe06abfd1
++pybind11_1.8.1.orig.tar.gz
++1655fd096b3abdce8ad7c7e3a27578c400698eff
++300379
diff --cc debian/patches/0001-Use-system-include-path.patch
index 8fe0e62,0000000..fc7caa5
mode 100644,000000..100644
--- a/debian/patches/0001-Use-system-include-path.patch
+++ b/debian/patches/0001-Use-system-include-path.patch
@@@ -1,52 -1,0 +1,53 @@@
++From c775881fbf92234cefbe34ad5a62726fedbd3557 Mon Sep 17 00:00:00 2001
+From: Ghislain Antony Vaillant <ghisvail at gmail.com>
+Date: Thu, 17 Nov 2016 16:34:09 +0000
+Subject: Use system include path.
+
+---
+ pybind11/__init__.py | 8 +-------
+ setup.py | 16 ----------------
+ 2 files changed, 1 insertion(+), 23 deletions(-)
+
+diff --git a/pybind11/__init__.py b/pybind11/__init__.py
+index dc0ddf6..21eab24 100644
+--- a/pybind11/__init__.py
++++ b/pybind11/__init__.py
+@@ -2,10 +2,4 @@ from ._version import version_info, __version__
+
+
+ def get_include(*args, **kwargs):
+- import os
+- try:
+- from pip import locations
+- return os.path.dirname(
+- locations.distutils_scheme('pybind11', *args, **kwargs)['headers'])
+- except ImportError:
+- return 'include'
++ return '/usr/include'
+diff --git a/setup.py b/setup.py
+index 07465bb..0b9d7f4 100644
+--- a/setup.py
++++ b/setup.py
+@@ -15,22 +15,6 @@ setup(
+ download_url='https://github.com/wjakob/pybind11/tarball/v' + __version__,
+ packages=['pybind11'],
+ license='BSD',
+- headers=[
+- 'include/pybind11/attr.h',
+- 'include/pybind11/cast.h',
+- 'include/pybind11/complex.h',
+- 'include/pybind11/descr.h',
+- 'include/pybind11/eigen.h',
+- 'include/pybind11/numpy.h',
+- 'include/pybind11/pybind11.h',
+- 'include/pybind11/stl.h',
+- 'include/pybind11/stl_bind.h',
+- 'include/pybind11/common.h',
+- 'include/pybind11/functional.h',
+- 'include/pybind11/operators.h',
+- 'include/pybind11/pytypes.h',
+- 'include/pybind11/typeid.h'
+- ],
+ classifiers=[
+ 'Development Status :: 5 - Production/Stable',
+ 'Intended Audience :: Developers',
diff --cc debian/patches/series
index fadbde3,0000000..5bcb53a
mode 100644,000000..100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@@ -1,1 -1,0 +1,1 @@@
- Use-system-include-path.patch
++0001-Use-system-include-path.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pybind11.git
More information about the debian-science-commits
mailing list