aboutsummaryrefslogtreecommitdiff
path: root/ports/boost-python
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-12-19 16:01:58 -0800
committerGitHub <noreply@github.com>2017-12-19 16:01:58 -0800
commitf381823f70cab2d6f4ced32429fd3238b003d622 (patch)
tree077ea03cd27787d528558bde830369a388b9ab68 /ports/boost-python
parent9ed81627e7feb28bea6432581cf25730a9f145be (diff)
parentb79395c4adf076dc57db2f7c1b0c38db4cc94f72 (diff)
downloadvcpkg-f381823f70cab2d6f4ced32429fd3238b003d622.tar.gz
vcpkg-f381823f70cab2d6f4ced32429fd3238b003d622.zip
Merge pull request #2269 from Microsoft/boost-modular
[boost] Modularize and update to 1.66
Diffstat (limited to 'ports/boost-python')
-rw-r--r--ports/boost-python/CONTROL5
-rw-r--r--ports/boost-python/portfile.cmake19
2 files changed, 24 insertions, 0 deletions
diff --git a/ports/boost-python/CONTROL b/ports/boost-python/CONTROL
new file mode 100644
index 000000000..645cf8b13
--- /dev/null
+++ b/ports/boost-python/CONTROL
@@ -0,0 +1,5 @@
+# Automatically generated by boost-vcpkg-helpers/generate-ports.ps1
+Source: boost-python
+Version: 1.66.0
+Build-Depends: boost-bind, boost-config, boost-core, boost-detail, boost-graph, boost-integer, boost-iterator, boost-mpl, boost-preprocessor, boost-property-map, boost-smart-ptr, boost-static-assert, boost-tuple, boost-utility, boost-vcpkg-helpers, python3
+Description: Boost python module
diff --git a/ports/boost-python/portfile.cmake b/ports/boost-python/portfile.cmake
new file mode 100644
index 000000000..beb16ad8f
--- /dev/null
+++ b/ports/boost-python/portfile.cmake
@@ -0,0 +1,19 @@
+# Automatically generated by boost-vcpkg-helpers/generate-ports.ps1
+
+include(vcpkg_common_functions)
+include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular.cmake)
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO boostorg/python
+ REF boost-1.66.0
+ SHA512 3a16f16c19bf8a97c10db5c4a39385646a49ed794e9f7a0030181c0fb163671306ca92714aeea6440f60d043736ea4c15d1256fb418f18aea164c2d09420774f
+ HEAD_REF master
+)
+
+# Find Python. Can't use find_package here, but we already know where everything is
+file(GLOB PYTHON_INCLUDE_PATH "${CURRENT_INSTALLED_DIR}/include/python[0-9.]*")
+set(PYTHONLIBS_RELEASE "${CURRENT_INSTALLED_DIR}/lib")
+set(PYTHONLIBS_DEBUG "${CURRENT_INSTALLED_DIR}/debug/lib")
+string(REGEX REPLACE ".*python([0-9\.]+)$" "\\1" PYTHON_VERSION "${PYTHON_INCLUDE_PATH}")
+boost_modular_headers(SOURCE_PATH ${SOURCE_PATH})