summaryrefslogtreecommitdiff
path: root/dev-libs/fastText
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-11-01 11:29:00 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-11-01 11:29:00 +0000
commitaa083bfdaa44032e8a01cffc2b01f07e47fe8ca2 (patch)
tree4a8881681ba7292b5332197bff3bb47e287000ea /dev-libs/fastText
parent26722d888c493ea29771ff48fa956f0fc584a9c7 (diff)
downloadbaldeagleos-repo-aa083bfdaa44032e8a01cffc2b01f07e47fe8ca2.tar.gz
baldeagleos-repo-aa083bfdaa44032e8a01cffc2b01f07e47fe8ca2.tar.xz
baldeagleos-repo-aa083bfdaa44032e8a01cffc2b01f07e47fe8ca2.zip
Adding metadata
Diffstat (limited to 'dev-libs/fastText')
-rw-r--r--dev-libs/fastText/Manifest2
-rw-r--r--dev-libs/fastText/fastText-0.9.2.ebuild14
2 files changed, 12 insertions, 4 deletions
diff --git a/dev-libs/fastText/Manifest b/dev-libs/fastText/Manifest
index c45a8082f3e0..a6779ea0979b 100644
--- a/dev-libs/fastText/Manifest
+++ b/dev-libs/fastText/Manifest
@@ -1 +1 @@
-DIST fastText-0.9.2.tar.gz 4036722 BLAKE2B ea3af92ce18d04241128cfb28773f0785a006e79c861d718c2c6ad788d776ad60b0543a42eb8be5a865cbc12283355521431fe2fba48544399e4a2b1520ff3f1 SHA512 8f0f6e78b3c6b3c7e7d107778952f340cc208b8e0b920dd118a57884cca8ef7007ea88b6f3352cb7e08289a64743f507309e1e1259c785f810af7f5fa09f2656
+DIST fastText-0.9.2.gh.tar.gz 4036722 BLAKE2B ea3af92ce18d04241128cfb28773f0785a006e79c861d718c2c6ad788d776ad60b0543a42eb8be5a865cbc12283355521431fe2fba48544399e4a2b1520ff3f1 SHA512 8f0f6e78b3c6b3c7e7d107778952f340cc208b8e0b920dd118a57884cca8ef7007ea88b6f3352cb7e08289a64743f507309e1e1259c785f810af7f5fa09f2656
diff --git a/dev-libs/fastText/fastText-0.9.2.ebuild b/dev-libs/fastText/fastText-0.9.2.ebuild
index 3880b01eb4b3..ea42a08610cf 100644
--- a/dev-libs/fastText/fastText-0.9.2.ebuild
+++ b/dev-libs/fastText/fastText-0.9.2.ebuild
@@ -4,12 +4,13 @@
EAPI=8
PYTHON_COMPAT=( python3_{7,8,9,10,11} )
+DISTUTILS_USE_PEP517=setuptools
DISTUTILS_OPTIONAL=1
-inherit cmake distutils-r1
+inherit cmake distutils-r1 edo
DESCRIPTION="Library for fast text representation and classification"
HOMEPAGE="https://fasttext.cc https://github.com/facebookresearch/fastText"
-SRC_URI="https://github.com/facebookresearch/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/facebookresearch/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="MIT"
SLOT="0"
@@ -24,6 +25,9 @@ RDEPEND="
dev-python/numpy[${PYTHON_USEDEP}]
)
"
+BDEPEND="
+ python? ( ${DISTUTILS_DEPS} )
+"
DOCS=( {CODE_OF_CONDUCT,CONTRIBUTING,README}.md python/{README.rst,doc} docs )
@@ -39,6 +43,10 @@ src_prepare() {
}
src_configure() {
+ local mycmakeargs=(
+ -DPROJECT_VERSION=${PV}
+ )
+
cmake_src_configure
use python && distutils-r1_src_configure
}
@@ -53,7 +61,7 @@ src_test() {
}
python_test() {
- ${EPYTHON} runtests.py -u || die
+ edo ${EPYTHON} runtests.py -u
}
src_install() {