diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-02-24 19:58:07 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-02-24 19:58:07 +0000 |
commit | 99abbc5e5a6ecd3fc981b45646fd8cb5d320377b (patch) | |
tree | da76713365257a445f3ae3b95470917f59d46728 /sci-physics/geant-python | |
parent | 4935506e9a5cbfabd37c64093eac5f36c2ff0017 (diff) |
gentoo resync : 24.02.2018
Diffstat (limited to 'sci-physics/geant-python')
7 files changed, 0 insertions, 316 deletions
diff --git a/sci-physics/geant-python/Manifest b/sci-physics/geant-python/Manifest deleted file mode 100644 index 25ec1f9d67cd..000000000000 --- a/sci-physics/geant-python/Manifest +++ /dev/null @@ -1,8 +0,0 @@ -AUX geant-python-4.10.0-config.patch 879 BLAKE2B 2e84f4ce3e12fe5d7196f8753cfcc7f537a7522172066d995fa8a8fd4b1c781206decc78237242a7de1fada0014f9c735997022120651c173bda56c8db728f07 SHA512 409951aeaf6cb33d8ab0d70c94ab04901f449554c8e1e14706a40144e132d4f33543e85740d7f99ca32bfd28fac1e12ddd6deeee6d0b101c42283fdf74da5ea7 -AUX geant-python-4.10.0-polycone.patch 609 BLAKE2B c0a17cb5c8e91a7a6f01535900656ed7cdf930b23a077f90a68605b4c25b45f21b30e5c234e76a8fcdbc0a3366f7ca2ba93017a7c7c9999895e82b9e85405f6a SHA512 d65395f12928ca500452545c19bcdefd0b3740fb27c2ff2ccd01748d70347e1d3e8935d94e9b1ae142037c0930551e58bc6dd93dd944c3d712255555a639d5c5 -AUX geant-python-4.9.5-visverbose.patch 557 BLAKE2B b709aaa09c954e3595a70fc3af95b7fe478bab085e3167d04462fa5447ff9578d7855d8a8ef550e0ec69f02991e2e1084534bf0ae21635cd9dee3261429c93a1 SHA512 6780065ef2ba4efa79bdd835e500f25309baf6b3d8bf2418b83f2cbb984a8b6a48d27e10a1327cd42e6e236663557fedb5bb2f9f34ee0d1631fc316868959fb0 -DIST geant4.10.00.tar.gz 30780131 BLAKE2B 22702e73f3e2f973e3251dc650f4cfd38c905edabc27f2d09d40bb9a518ea46fafc55be9f91b35eb4bcc7a35a442905347b652a1388055eebb856e998184d8f2 SHA512 c9288b26df8b858622e728158b687cd7bc257c49f26a21b93d1b9fa4619c22dfea2a7604689118ac493b407888690db42d1ec9c8048aa1f45bf8beeb6a657e87 -DIST geant4.9.6.p02.tar.gz 25480383 BLAKE2B db0e1a8997d91a4e989bf3d038fd0898a2612fa79d6ad195ea3280b49e1290712926ac04de2501d2f75f99de54868f1214284db70de47bd3661345b9bb7503e1 SHA512 dab5f31568074869adecbbfb8855be0c0a2e92e5ba3119dbeb9cd414878721df3052198a05e5e3c19d0e2942a22602c6618dc0628b05134d3403a50c2bc2032c -EBUILD geant-python-4.10.00.ebuild 3588 BLAKE2B 2d089358a48a91b6b2d57f32340348a5fa0e99f8720bdaf0c1e685dde0c2d9f22b0829509be62e906ac4dac88da761467fe2aac8f3e73f1d7c0a4b7cc9788652 SHA512 12958db78cddbcf273d01f5dc77638fdcfbc6cdd0e17db47a715c465700ef53699e8049dc24c8319184de216accd29b626ced19fbb69d20a83faf3e2ebebd422 -EBUILD geant-python-4.9.6_p02.ebuild 3490 BLAKE2B b01c2adfd7f66d5767837e59fadf58799845b4d84aced025114050ab7048e5f847117c479d098815e16f24b12de35f6b2fd5248c2604829ec25d753937dc16bc SHA512 6d119b9fc63e3d4e3556404f8e1d27af4f8b1f81f4ba13f95be171e3b03d7cb2ed51a138881e750212b96c6a32fe13cd250057607a72ad8452dca9198d442574 -MISC metadata.xml 339 BLAKE2B 21406d69ef5679afdfd06dfb46702e4e3af24e4f4e165a59bf7a1957768c5b9c3d13096002e3f17e4f261f86529f5c5c5264d985daa9519cf5b4847715fa6120 SHA512 70075446df6f911524b3a0cc239b00ab9f8f7da8f022c9c050145aec664216026e0dc10f36a75d525a3ad8d02fea858d45b8cd880e26e2f1fe17b7bfb8dbebdd diff --git a/sci-physics/geant-python/files/geant-python-4.10.0-config.patch b/sci-physics/geant-python/files/geant-python-4.10.0-config.patch deleted file mode 100644 index 50f4dabb43c3..000000000000 --- a/sci-physics/geant-python/files/geant-python-4.10.0-config.patch +++ /dev/null @@ -1,27 +0,0 @@ -do not hard code PATH; QGSP.hh is renamed to G4QGSParticipants.hh in geant-4.10 - -http://bugzilla-geant4.kek.jp/show_bug.cgi?id=1545 -http://bugzilla-geant4.kek.jp/show_bug.cgi?id=1546 -Index: g4py/configure -=================================================================== ---- g4py.orig/configure -+++ g4py/configure -@@ -4,9 +4,6 @@ - # ====================================================================== - export LANG=C - --PATH=/bin:/usr/bin --export PATH -- - # ====================================================================== - # testing the echo features - # ====================================================================== -@@ -377,7 +374,7 @@ fi - - # --- - echo $ac_n "Checking for physics list support ...$ac_c" --if [ -f "$g4_incdir"/QGSP.hh ]; then -+if [ -f "$g4_incdir"/G4QGSParticipants.hh ]; then - enable_physicslist=1 - fi - if [ $enable_physicslist = 0 ]; then diff --git a/sci-physics/geant-python/files/geant-python-4.10.0-polycone.patch b/sci-physics/geant-python/files/geant-python-4.10.0-polycone.patch deleted file mode 100644 index 492e4700ac4f..000000000000 --- a/sci-physics/geant-python/files/geant-python-4.10.0-polycone.patch +++ /dev/null @@ -1,15 +0,0 @@ -polycone API has been changed. - -http://bugzilla-geant4.kek.jp/show_bug.cgi?id=1544 -Index: g4py/source/geometry/pyG4Polycone.cc -=================================================================== ---- g4py.orig/source/geometry/pyG4Polycone.cc -+++ g4py/source/geometry/pyG4Polycone.cc -@@ -96,7 +96,6 @@ void export_G4Polycone() - .def("GetStartPhi", &G4Polycone::GetStartPhi) - .def("GetEndPhi", &G4Polycone::GetEndPhi) - .def("IsOpen", &G4Polycone::IsOpen) -- .def("IsGeneric", &G4Polycone::IsGeneric) - .def("GetNumRZCorner", &G4Polycone::GetNumRZCorner) - - // operators diff --git a/sci-physics/geant-python/files/geant-python-4.9.5-visverbose.patch b/sci-physics/geant-python/files/geant-python-4.9.5-visverbose.patch deleted file mode 100644 index 0508f28b6fa6..000000000000 --- a/sci-physics/geant-python/files/geant-python-4.9.5-visverbose.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/source/visualization/pyG4VisManager.cc b/source/visualization/pyG4VisManager.cc -index 33bb0d4..00f86a5 100644 ---- a/source/visualization/pyG4VisManager.cc -+++ b/source/visualization/pyG4VisManager.cc -@@ -41,7 +41,7 @@ using namespace boost::python; - // ==================================================================== - class PyG4VisManager : public G4VisManager { - public: -- PyG4VisManager() { SetVerboseLevel(quiet); } -+ PyG4VisManager() { SetVerboseLevel(all); } - ~PyG4VisManager() { } - - virtual void RegisterGraphicsSystems() { } diff --git a/sci-physics/geant-python/geant-python-4.10.00.ebuild b/sci-physics/geant-python/geant-python-4.10.00.ebuild deleted file mode 100644 index 160244ef9e49..000000000000 --- a/sci-physics/geant-python/geant-python-4.10.00.ebuild +++ /dev/null @@ -1,122 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 ) - -inherit python-r1 versionator multilib eutils - -MYP="geant$(replace_version_separator 3 .)" - -DESCRIPTION="Python bindings for Geant4" -HOMEPAGE="http://geant4.cern.ch/" -SRC_URI="http://geant4.cern.ch/support/source/${MYP}.tar.gz" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" - -LICENSE="geant4" -SLOT="0" -IUSE="examples" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND=" - ${PYTHON_DEPS} - dev-libs/boost:=[python,${PYTHON_USEDEP}] - dev-libs/xerces-c - =sci-physics/geant-${PV}*" -DEPEND="${RDEPEND}" - -S="${WORKDIR}/${MYP}/environments/g4py" - -pkg_setup() { - if use amd64; then - ARG=linux64 - elif use x86; then - ARG=linux - else - die "platform unknown" - fi -} - -src_prepare() { - epatch "${FILESDIR}"/${PN}-4.9.5-visverbose.patch - epatch "${FILESDIR}"/${PN}-4.10.0-config.patch - epatch "${FILESDIR}"/${PN}-4.10.0-polycone.patch - sed -i -e "s/lib64/$(get_libdir)/g" configure || die - sed -i -e 's/-lG4clhep/-lCLHEP/g' config/g4py.gmk || die - # respect user toolchain and flags - sed -i \ - -e '/^CXX.*:=/d' \ - -e '/CXXFLAGS/s/-f\(template-depth-255\|inline-functions\|permissive\)//g' \ - -e "/CXXFLAGS/s/-O2/${CXXFLAGS}/g" \ - -e '/^rpathflag/s|:\($(rpath.)\)| -Wl,-rpath,\1 |g' \ - -e "s/\$(rpathflag)/\$(LDFLAGS) \$(rpathflag)/g" \ - config/sys/linux* || die - python_copy_sources - - run_sed() { - sed -i -e "s/\(python_exe=\)python/\1${EPYTHON}/" configure || die - [[ ${EPYTHON} == python3* ]] && sed -i -e "s/with_python3=0/with_python3=1/" configure - # let Geant4 module installed into python sitedir instead of default - sed -i \ - -e "/G4PY_LIBDIR :=/cG4PY_LIBDIR := $\(DESTDIR\)$(python_get_sitedir)/Geant4" \ - config/install.gmk || die "sed failed on config/install.gmk" - - local mfile - for mfile in source/python{3,}/GNUmakefile - do - sed -i \ - -e "/install_dir :=/cinstall_dir := $\(DESTDIR\)$(python_get_sitedir)/Geant4" \ - "${mfile}" || die "sed failed on ${mfile}" - done - - # let g4py module installed into python sitedir instead of default - sed -i \ - -e "/install_dir :=/cinstall_dir := $\(DESTDIR\)$(python_get_sitedir)/g4py" \ - config/site-install.gmk || die "sed failed on config/site-install.gmk" - for mfile in {processes/emcalculator,utils/MCScore}/{python3/,}GNUmakefile python/GNUmakefile - do - sed -i \ - -e "/install_dir :=/cinstall_dir := $\(DESTDIR\)$(python_get_sitedir)/g4py" \ - "site-modules/${mfile}" || die "sed failed on site-modules/${mfile}" - done - - } - python_foreach_impl run_in_build_dir run_sed -} - -src_configure() { - run_configure() { - # not the autotools configure - ./configure ${ARG} \ - --prefix="${EPREFIX}/usr" \ - --with-g4install-dir="${EPREFIX}/usr" \ - --with-python-incdir="$(python_get_includedir)" \ - --with-python-libdir="${EPREFIX}/usr/$(get_libdir)" \ - --with-boost-incdir="${EPREFIX}/usr/include" \ - --with-boost-libdir="${EPREFIX}/usr/$(get_libdir)" \ - --with-boost-python-lib="boost_python-${EPYTHON#python}" \ - --with-xercesc-incdir="${EPREFIX}/usr/include" \ - --with-xercesc-libdir="${EPREFIX}/usr/$(get_libdir)" \ - || die "configure failed" - } - python_foreach_impl run_in_build_dir run_configure -} - -src_compile() { - python_foreach_impl run_in_build_dir emake CPPVERBOSE=1 -} - -src_test() { - run_test() { - emake -C tests - } - python_foreach_impl run_in_build_dir run_test -} - -src_install() { - python_foreach_impl run_in_build_dir emake DESTDIR="${D}" install - dodoc README.md History - insinto /usr/share/doc/${PF} - use examples && doins -r examples -} diff --git a/sci-physics/geant-python/geant-python-4.9.6_p02.ebuild b/sci-physics/geant-python/geant-python-4.9.6_p02.ebuild deleted file mode 100644 index f590877fadab..000000000000 --- a/sci-physics/geant-python/geant-python-4.9.6_p02.ebuild +++ /dev/null @@ -1,120 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 ) - -inherit python-r1 versionator multilib eutils - -MYP="geant$(replace_version_separator 3 .)" - -DESCRIPTION="Python bindings for Geant4" -HOMEPAGE="http://geant4.cern.ch/" -SRC_URI="http://geant4.cern.ch/support/source/${MYP}.tar.gz" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" - -LICENSE="geant4" -SLOT="0" -IUSE="examples" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND=" - ${PYTHON_DEPS} - dev-libs/boost:=[python,${PYTHON_USEDEP}] - dev-libs/xerces-c - =sci-physics/geant-${PV}*" -DEPEND="${RDEPEND}" - -S="${WORKDIR}/${MYP}/environments/g4py" - -pkg_setup() { - if use amd64; then - ARG=linux64 - elif use x86; then - ARG=linux - else - die "platform unknown" - fi -} - -src_prepare() { - epatch "${FILESDIR}"/${PN}-4.9.5-visverbose.patch - sed -i -e "s/lib64/$(get_libdir)/g" configure || die - sed -i -e 's/-lG4clhep/-lCLHEP/g' config/g4py.gmk || die - # respect user toolchain and flags - sed -i \ - -e '/^CXX.*:=/d' \ - -e '/CXXFLAGS/s/-f\(template-depth-255\|inline-functions\|permissive\)//g' \ - -e "/CXXFLAGS/s/-O2/${CXXFLAGS}/g" \ - -e '/^rpathflag/s|:\($(rpath.)\)| -Wl,-rpath,\1 |g' \ - -e "s/\$(rpathflag)/\$(LDFLAGS) \$(rpathflag)/g" \ - config/sys/linux* || die - python_copy_sources - - run_sed() { - sed -i -e "s/\(python_exe=\)python/\1${EPYTHON}/" configure || die - [[ ${EPYTHON} == python3* ]] && sed -i -e "s/with_python3=0/with_python3=1/" configure - # let Geant4 module installed into python sitedir instead of default - sed -i \ - -e "/G4PY_LIBDIR :=/cG4PY_LIBDIR := $\(DESTDIR\)$(python_get_sitedir)/Geant4" \ - config/install.gmk || die "sed failed on config/install.gmk" - - local mfile - for mfile in source/python{3,}/GNUmakefile - do - sed -i \ - -e "/install_dir :=/cinstall_dir := $\(DESTDIR\)$(python_get_sitedir)/Geant4" \ - "${mfile}" || die "sed failed on ${mfile}" - done - - # let g4py module installed into python sitedir instead of default - sed -i \ - -e "/install_dir :=/cinstall_dir := $\(DESTDIR\)$(python_get_sitedir)/g4py" \ - config/site-install.gmk || die "sed failed on config/site-install.gmk" - for mfile in {processes/emcalculator,utils/MCScore}/{python3/,}GNUmakefile python/GNUmakefile - do - sed -i \ - -e "/install_dir :=/cinstall_dir := $\(DESTDIR\)$(python_get_sitedir)/g4py" \ - "site-modules/${mfile}" || die "sed failed on site-modules/${mfile}" - done - - } - python_foreach_impl run_in_build_dir run_sed -} - -src_configure() { - run_configure() { - # not the autotools configure - ./configure ${ARG} \ - --prefix="${EPREFIX}/usr" \ - --with-g4install-dir="${EPREFIX}/usr" \ - --with-python-incdir="$(python_get_includedir)" \ - --with-python-libdir="${EPREFIX}/usr/$(get_libdir)" \ - --with-boost-incdir="${EPREFIX}/usr/include" \ - --with-boost-libdir="${EPREFIX}/usr/$(get_libdir)" \ - --with-boost-python-lib="boost_python-${EPYTHON#python}" \ - --with-xercesc-incdir="${EPREFIX}/usr/include" \ - --with-xercesc-libdir="${EPREFIX}/usr/$(get_libdir)" \ - || die "configure failed" - } - python_foreach_impl run_in_build_dir run_configure -} - -src_compile() { - python_foreach_impl run_in_build_dir emake CPPVERBOSE=1 -} - -src_test() { - run_test() { - emake -C tests - } - python_foreach_impl run_in_build_dir run_test -} - -src_install() { - python_foreach_impl run_in_build_dir emake DESTDIR="${D}" install - dodoc README.md History - insinto /usr/share/doc/${PF} - use examples && doins -r examples -} diff --git a/sci-physics/geant-python/metadata.xml b/sci-physics/geant-python/metadata.xml deleted file mode 100644 index e89041142af4..000000000000 --- a/sci-physics/geant-python/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci-physics@gentoo.org</email> - <name>Gentoo Physics Project</name> - </maintainer> - <longdescription lang="en"> - Python binding to Geant 4. - </longdescription> -</pkgmetadata> |