parent
43c0bc98bf
commit
eb1eae1c6c
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,33 @@
|
||||
https://bugs.gentoo.org/702986
|
||||
|
||||
--- a/Setup.hs
|
||||
+++ b/Setup.hs
|
||||
@@ -8,7 +8,7 @@ import Distribution.Simple ( defaultMainWithHooks, UserHooks(postConf),
|
||||
import Gtk2HsSetup ( gtk2hsUserHooks, getPkgConfigPackages)
|
||||
import Distribution.Simple.Setup ( ConfigFlags(configVerbosity), fromFlag)
|
||||
import Distribution.Simple.LocalBuildInfo ( LocalBuildInfo(..) )
|
||||
-import Distribution.Simple.BuildPaths ( autogenPackageModulesDir )
|
||||
+import Distribution.Simple.BuildPaths ( autogenModulesDir )
|
||||
import Distribution.Text ( display )
|
||||
import Distribution.Version ( Version(..) )
|
||||
import Distribution.Verbosity
|
||||
@@ -49,7 +49,7 @@ writePangoVersionHeaderFile verbosity lbi (Version (major:minor:micro:_) []) = d
|
||||
, "#define PANGO_VERSION_MICRO " ++ show micro
|
||||
]
|
||||
where
|
||||
- targetDir = autogenPackageModulesDir lbi
|
||||
+ targetDir = autogenModulesDir lbi
|
||||
targetFile = targetDir </> "hspangoversion.h"
|
||||
|
||||
writeVersionHeaderFile _ _ version =
|
||||
--- a/Setup.hs
|
||||
+++ b/Setup.hs
|
||||
@@ -43,7 +43,7 @@ writePangoVersionHeaderFile verbosity lbi (versionNumbers -> (major:minor:micro:
|
||||
writePangoVersionHeaderFile verbosity lbi (Version (major:minor:micro:_) []) = do
|
||||
#endif
|
||||
createDirectoryIfMissingVerbose verbosity True targetDir
|
||||
- rewriteFileEx verbosity targetFile $ unlines
|
||||
+ rewriteFile targetFile $ unlines
|
||||
[ "#define PANGO_VERSION_MAJOR " ++ show major
|
||||
, "#define PANGO_VERSION_MINOR " ++ show minor
|
||||
, "#define PANGO_VERSION_MICRO " ++ show micro
|
Binary file not shown.
@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_5,3_6} )
|
||||
|
||||
inherit distutils-r1 git-2
|
||||
|
||||
EGIT_REPO_URI="https://git.tiker.net/trees/pyopencl.git"
|
||||
|
||||
DESCRIPTION="Python wrapper for OpenCL"
|
||||
HOMEPAGE="https://mathema.tician.de/software/pyopencl
|
||||
https://pypi.org/project/pyopencl/"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE="examples opengl"
|
||||
|
||||
RDEPEND=">=dev-libs/boost-1.48[python,${PYTHON_USEDEP}]
|
||||
dev-python/decorator[${PYTHON_USEDEP}]
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
dev-python/mako[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytools-9999[${PYTHON_USEDEP}]
|
||||
>=virtual/opencl-0-r1"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_configure()
|
||||
{
|
||||
local myconf=()
|
||||
if use opengl; then
|
||||
myconf+=(--cl-enable-gl)
|
||||
fi
|
||||
|
||||
"${PYTHON}" configure.py \
|
||||
--boost-compiler=gcc \
|
||||
--boost-python-libname=boost_python-${PYTHON_ABI}-mt \
|
||||
--no-use-shipped-boost \
|
||||
"${myconf[@]}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
if use examples; then
|
||||
local EXAMPLES=( examples/. )
|
||||
einfo "Some of the examples provided by this package require dev-python/matplotlib."
|
||||
fi
|
||||
distutils-r1_python_install_all
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
||||
Sun, 15 Dec 2019 19:08:56 +0000
|
||||
Sun, 15 Dec 2019 19:40:05 +0000
|
||||
|
@ -1 +1 @@
|
||||
Sun, 15 Dec 2019 19:08:56 +0000
|
||||
Sun, 15 Dec 2019 19:40:05 +0000
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue