summaryrefslogtreecommitdiff
path: root/dev-python/fcl
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-12-14 13:26:14 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-12-14 13:26:14 +0000
commit6abbf81ef2f298e3221ff5e67a1f3c5f23958212 (patch)
tree25413d1cb3a0cbfe36029db32398c0f333609215 /dev-python/fcl
parent9c417bacd51da6d8b57fa9f37425161d30d4b95b (diff)
gentoo resync : 14.12.2020
Diffstat (limited to 'dev-python/fcl')
-rw-r--r--dev-python/fcl/Manifest3
-rw-r--r--dev-python/fcl/fcl-0.0.12-r1.ebuild (renamed from dev-python/fcl/fcl-0.0.12.ebuild)13
-rw-r--r--dev-python/fcl/files/fcl-0.0.12-fix-compiling-on-lld.patch12
3 files changed, 17 insertions, 11 deletions
diff --git a/dev-python/fcl/Manifest b/dev-python/fcl/Manifest
index 2143e860f895..15225b7a2b7f 100644
--- a/dev-python/fcl/Manifest
+++ b/dev-python/fcl/Manifest
@@ -1,3 +1,4 @@
+AUX fcl-0.0.12-fix-compiling-on-lld.patch 400 BLAKE2B d50568d13ad303c9c56a604d5ff8bcfaa537298cbda7b48628c07637ae7364aedf88fb57a04c601765ef1ff5280d609fc50dd06270d9cce32085f19d3c3b1e08 SHA512 4e668d7ac21a0fd326db170d64a3ac0cd931dfd5657546682033c30ad86d7d29ad845a5be4110b8cae2cdfd5ad1a784f3792eb7a8b0fd665f17614dab30a0c9b
DIST python-fcl-0.0.12.tar.gz 17204 BLAKE2B 594d466270160e71e67d99f1745b382c3b1f7754adeb9ba58443e4370e14496e45f4a7619eb7d41db22766f75fe841e088609014bf5a9ff5a6b7ee526b34eca2 SHA512 3b5462206e63e17c646edeeedb268474cc6df1ff12d64d4de0c46bcc281787a42b6306778d2fe5d4d3b2e23bc0ed86e092c9a39b74d019638c771ac5c9d9f8ce
-EBUILD fcl-0.0.12.ebuild 880 BLAKE2B e6b401bf06c027386ef067dc4ec03d4071e78db035a7c408055a27d2a6fd3b7142b42059f74c0c4aca615db08b0a7cbb2ce9f9a989810a2e64486210070d3567 SHA512 d39c3ce60715e3432f0fc397ae6cf56df8971e0a98bf95940f3ad735aa6e079f77c3969ea212ca06b693abc728e7e0360f0f4d9cd230d16ad76b5e942756e498
+EBUILD fcl-0.0.12-r1.ebuild 777 BLAKE2B db7d60ca6ff0a3ac0c1d41620e727039eabab3be4f6f54f0a526917028203057a64283170c7fa8650262afd6fe33f2dd0e34dead41085d62b640a296e49ea8b2 SHA512 5d8f2c604b448208747360ea5b56dd19061922587da2265d3202a03f41dab798b5053c8cbcc5cab4a9a52dce72c86bed2d538b87cc79a95647fd07e8fa5ad91d
MISC metadata.xml 690 BLAKE2B 9ffe7a20279a393ab054e5f14e03b567b6c9a22da79a0f4abf44a534bb217931a0a2774e8ab03fbfe28028b664ed45654d5687bd44eb5ab7461f16a1bae82f8a SHA512 8d59da8cedbed47d103b8fe47fc05b16533008c8ab8e5d684ffad836d4a06c9c139a1c3800d2922e4ee68f432924dd363e99b233c167be8b585a4eb8a4de72dc
diff --git a/dev-python/fcl/fcl-0.0.12.ebuild b/dev-python/fcl/fcl-0.0.12-r1.ebuild
index 49e3bde5d1ce..27910fbb1371 100644
--- a/dev-python/fcl/fcl-0.0.12.ebuild
+++ b/dev-python/fcl/fcl-0.0.12-r1.ebuild
@@ -17,7 +17,7 @@ LICENSE="BSD"
KEYWORDS="~amd64"
SLOT="0"
-IUSE="examples"
+IUSE=""
RDEPEND="
dev-python/numpy[${PYTHON_USEDEP}]
@@ -27,16 +27,9 @@ RDEPEND="
S=${WORKDIR}/${MY_P}
-distutils_enable_tests unittest
-
-python_install_all() {
- if use examples; then
- docompress -x "/usr/share/doc/${PF}/examples"
- dodoc -r example
- fi
+PATCHES=( "${FILESDIR}"/${P}-fix-compiling-on-lld.patch )
- distutils-r1_python_install_all
-}
+distutils_enable_tests unittest
python_test() {
"${EPYTHON}" test/test_fcl.py -v || die "tests failed with ${EPYTHON}"
diff --git a/dev-python/fcl/files/fcl-0.0.12-fix-compiling-on-lld.patch b/dev-python/fcl/files/fcl-0.0.12-fix-compiling-on-lld.patch
new file mode 100644
index 000000000000..0e3cf7a54196
--- /dev/null
+++ b/dev-python/fcl/files/fcl-0.0.12-fix-compiling-on-lld.patch
@@ -0,0 +1,12 @@
+--- a/setup.py
++++ b/setup.py
+@@ -21,8 +21,7 @@
+ include_dirs = ['/usr/include',
+ '/usr/local/include',
+ '/usr/include/eigen3']
+- lib_dirs = ['/usr/lib',
+- '/usr/local/lib']
++ lib_dirs = ['/usr/local/lib']
+
+ if 'CPATH' in os.environ:
+ include_dirs += os.environ['CPATH'].split(':')