From dd16fdb454bf438f25f680e50527ba03cf91285e Mon Sep 17 00:00:00 2001 From: Ralph Seichter Date: Tue, 11 Jun 2019 18:00:23 +0200 Subject: [PATCH 1/3] dev-python/pymilter: Moved to gentoo tree pymilter 1.0.4 is available in the official gentoo tree. Signed-off-by: Ralph Seichter --- dev-python/pymilter/Manifest | 1 - dev-python/pymilter/metadata.xml | 17 ----------------- dev-python/pymilter/pymilter-1.0.3.ebuild | 22 ---------------------- 3 files changed, 40 deletions(-) delete mode 100644 dev-python/pymilter/Manifest delete mode 100644 dev-python/pymilter/metadata.xml delete mode 100644 dev-python/pymilter/pymilter-1.0.3.ebuild diff --git a/dev-python/pymilter/Manifest b/dev-python/pymilter/Manifest deleted file mode 100644 index af556a1cf3..0000000000 --- a/dev-python/pymilter/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST pymilter-1.0.3.tar.gz 1024602 BLAKE2B bd1c29b1e56d3be6f6d491ffd9f38ed684cf5ead2174f4ac2c31c29d32a82f350af180de8e8c21f90b10c3f7b7251382a618ca86346a57a93a48f6adfc0be33e SHA512 a015fb8fb088fd7664aba63df72802a61961cd87bcfd3713c0e11d09ff4dcdfd6f50eca14f6d8ef81b2a70887b3b4f43fbd74b80119f21a0c3737b90320c6cf4 diff --git a/dev-python/pymilter/metadata.xml b/dev-python/pymilter/metadata.xml deleted file mode 100644 index 4c8c4ec616..0000000000 --- a/dev-python/pymilter/metadata.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - - gentoo@seichter.de - Ralph Seichter - - - A python extension module to enable python scripts to attach - to sendmail’s libmilter functionality. Additional python - modules provide for navigating and modifying MIME parts, and - sending DSNs or doing CBVs. - - - sdgathman/pymilter - - diff --git a/dev-python/pymilter/pymilter-1.0.3.ebuild b/dev-python/pymilter/pymilter-1.0.3.ebuild deleted file mode 100644 index 9bc7d8423a..0000000000 --- a/dev-python/pymilter/pymilter-1.0.3.ebuild +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) - -inherit distutils-r1 - -DESCRIPTION="Python interface to sendmail milter API" -HOMEPAGE="https://github.com/sdgathman/pymilter" -SRC_URI="https://github.com/sdgathman/${PN}/archive/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64" -IUSE="" - -S="${WORKDIR}/${PN}-${P}" - -python_test() { - "${EPYTHON}" -m unittest discover -v -} From 5aace92c7dbc6a586b1e865e68452e33e0bfc909 Mon Sep 17 00:00:00 2001 From: Bernd Waibel Date: Sat, 15 Jun 2019 18:46:31 +0200 Subject: [PATCH 2/3] dev-util/pybind11: bump to version 2.3.0 Package-Manager: Portage-2.3.67, Repoman-2.3.14 Signed-off-by: Bernd Waibel --- dev-util/pybind11/Manifest | 1 + dev-util/pybind11/pybind11-2.3.0.ebuild | 94 +++++++++++++++++++++++++ 2 files changed, 95 insertions(+) create mode 100644 dev-util/pybind11/pybind11-2.3.0.ebuild diff --git a/dev-util/pybind11/Manifest b/dev-util/pybind11/Manifest index 5a4fe9b4d3..e8a8b70aff 100644 --- a/dev-util/pybind11/Manifest +++ b/dev-util/pybind11/Manifest @@ -1 +1,2 @@ DIST pybind11-2.2.4.tar.gz 548404 BLAKE2B b56230b5a4c0f392b714ead40d414a8b587396dbeec4089f5b77141cc7c2caf135f17f680b653d2e5be8b60a19a48a716fe8e562f337650fdac76461fb982aee SHA512 6bddf5c885ff92a3e373bcedc6574dfefe8be9ebb6176c6c96d475457466c76bfb982c6df4066cb0fbead4b867f87dbc4fbc1605c80852635016f614330ce041 +DIST pybind11-2.3.0.tar.gz 564520 BLAKE2B a7c1485aa8f63a00eccd3103cf9f531a080b049be02e6182b30503ae6dd6c55fc517684ed9d92aaec244efd5f77336c68d1ea546833f7f0ae2fd7b090c19a02d SHA512 04542fe9dca2ffdb86c15698a4bbc041446a9f11970092e89a482ae0ff64c932f62fff8f437b98bdaa006c1fccabddd79f0c7e376f27daed2150b1d2f988e8aa diff --git a/dev-util/pybind11/pybind11-2.3.0.ebuild b/dev-util/pybind11/pybind11-2.3.0.ebuild new file mode 100644 index 0000000000..6a24042bd6 --- /dev/null +++ b/dev-util/pybind11/pybind11-2.3.0.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# According to upstream is compatible with 2.7 and 3.x +# However support for python3_7 needs boost with python3_7 +PYTHON_COMPAT=( python{2_7,3_{5,6}} ) + +inherit cmake-utils python-single-r1 + +DESCRIPTION="Seamless operability between C++11 and Python" +HOMEPAGE="https://pybind11.readthedocs.io/en/stable/" +SRC_URI="https://github.com/pybind/pybind11/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="BSD" + +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="doc test" + +RESTRICT="!test? ( test )" + +DEPEND=" + ${PYTHON_DEP} + doc? ( + dev-python/breathe[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + ) + test? ( + dev-cpp/catch:0 + dev-libs/boost:=[python,${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + sci-libs/scipy[${PYTHON_USEDEP}] + ) +" + +RDEPEND=" + ${PYTHON_DEP} + dev-cpp/eigen:3 + sys-apps/texinfo + sys-devel/gettext[cxx] + virtual/man +" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DOCS=( README.md CONTRIBUTING.md ISSUE_TEMPLATE.md ) + +pkg_setup() { + python-single-r1_pkg_setup +} + +src_configure() { + mycmakeargs=( + -DPYBIND11_INSTALL=ON + -DPYBIND11_TEST=$(usex test) + ) + + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile + + # documentation is not covered by cmake, but has it's own makefile + # using sphinx + if use doc; then + pushd "${S}"/docs || die + emake info man html + popd || die + fi +} + +src_test() { + cmake-utils_src_test + pushd "${BUILD_DIR}" || die + eninja check + popd || die +} + +src_install() { + cmake-utils_src_install + + if use doc; then + local HTML_DOCS=( "${S}"/docs/.build/html/. ) + einstalldocs + + # install man and info pages + doman "${S}"/docs/.build/man/pybind11.1 + doinfo "${S}"/docs/.build/texinfo/pybind11.info + fi +} From f2a17bd077aa220aa14fd118f38767a946da27f8 Mon Sep 17 00:00:00 2001 From: Bernd Waibel Date: Sat, 15 Jun 2019 18:48:36 +0200 Subject: [PATCH 3/3] dev-util/pybind11: drop old 2.2.4 version Package-Manager: Portage-2.3.67, Repoman-2.3.14 Signed-off-by: Bernd Waibel --- dev-util/pybind11/Manifest | 1 - dev-util/pybind11/pybind11-2.2.4.ebuild | 94 ------------------------- 2 files changed, 95 deletions(-) delete mode 100644 dev-util/pybind11/pybind11-2.2.4.ebuild diff --git a/dev-util/pybind11/Manifest b/dev-util/pybind11/Manifest index e8a8b70aff..9d4bbe0ac5 100644 --- a/dev-util/pybind11/Manifest +++ b/dev-util/pybind11/Manifest @@ -1,2 +1 @@ -DIST pybind11-2.2.4.tar.gz 548404 BLAKE2B b56230b5a4c0f392b714ead40d414a8b587396dbeec4089f5b77141cc7c2caf135f17f680b653d2e5be8b60a19a48a716fe8e562f337650fdac76461fb982aee SHA512 6bddf5c885ff92a3e373bcedc6574dfefe8be9ebb6176c6c96d475457466c76bfb982c6df4066cb0fbead4b867f87dbc4fbc1605c80852635016f614330ce041 DIST pybind11-2.3.0.tar.gz 564520 BLAKE2B a7c1485aa8f63a00eccd3103cf9f531a080b049be02e6182b30503ae6dd6c55fc517684ed9d92aaec244efd5f77336c68d1ea546833f7f0ae2fd7b090c19a02d SHA512 04542fe9dca2ffdb86c15698a4bbc041446a9f11970092e89a482ae0ff64c932f62fff8f437b98bdaa006c1fccabddd79f0c7e376f27daed2150b1d2f988e8aa diff --git a/dev-util/pybind11/pybind11-2.2.4.ebuild b/dev-util/pybind11/pybind11-2.2.4.ebuild deleted file mode 100644 index 81fe08daa9..0000000000 --- a/dev-util/pybind11/pybind11-2.2.4.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -# according to upstream is compatible with 2.7 and 3.x -# 3.7 not added due to some dependencies not yet supporting it -PYTHON_COMPAT=( python{2_7,3_{5,6}} ) - -inherit cmake-utils python-single-r1 - -DESCRIPTION="Seamless operability between C++11 and Python" -HOMEPAGE="https://pybind11.readthedocs.io/en/stable/" -SRC_URI="https://github.com/pybind/pybind11/archive/v${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="BSD" - -SLOT="0" -KEYWORDS="~amd64 ~x86" - -IUSE="doc test" - -RESTRICT="!test? ( test )" - -DEPEND=" - ${PYTHON_DEP} - doc? ( - dev-python/breathe[${PYTHON_USEDEP}] - dev-python/sphinx[${PYTHON_USEDEP}] - ) - test? ( - dev-cpp/catch - dev-libs/boost[python,${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - sci-libs/scipy[${PYTHON_USEDEP}] - ) -" - -RDEPEND=" - ${PYTHON_DEP} - dev-cpp/eigen - sys-apps/texinfo - sys-devel/gettext[cxx] - virtual/man -" - -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -DOCS=( README.md CONTRIBUTING.md ISSUE_TEMPLATE.md ) - -pkg_setup() { - python-single-r1_pkg_setup -} - -src_configure() { - mycmakeargs=( - -DPYBIND11_INSTALL=ON - -DPYBIND11_TEST=$(usex test) - ) - - cmake-utils_src_configure -} - -src_compile() { - cmake-utils_src_compile - - # documentation is not covered by cmake, but has it's own makefile - # using sphinx - if use doc; then - pushd "${S}"/docs || die - emake info man html - popd || die - fi -} - -src_test() { - cmake-utils_src_test - pushd "${BUILD_DIR}" || die - emake check - popd || die -} - -src_install() { - cmake-utils_src_install - - if use doc; then - local HTML_DOCS=( "${S}"/docs/.build/html/. ) - einstalldocs - - # install man and info pages - doman "${S}"/docs/.build/man/pybind11.1 - doinfo "${S}"/docs/.build/texinfo/pybind11.info - fi -}