summaryrefslogtreecommitdiff
path: root/app-portage
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-09-27 21:10:49 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-09-27 21:10:49 +0100
commit3ca7a521e79841f7247feb67780a70722c997d55 (patch)
tree30b9afb1b822575d8e6ac4009489795a105a56ce /app-portage
parentc268590c556cb766e1ca3f55fde8a40cdde19c44 (diff)
gentoo auto-resync : 27:09:2022 - 21:10:48
Diffstat (limited to 'app-portage')
-rw-r--r--app-portage/Manifest.gzbin9731 -> 9735 bytes
-rw-r--r--app-portage/g-octave/Manifest2
-rw-r--r--app-portage/g-octave/g-octave-0.4.1-r8.ebuild70
3 files changed, 72 insertions, 0 deletions
diff --git a/app-portage/Manifest.gz b/app-portage/Manifest.gz
index 6f348872a8c7..bfeac001cdbf 100644
--- a/app-portage/Manifest.gz
+++ b/app-portage/Manifest.gz
Binary files differ
diff --git a/app-portage/g-octave/Manifest b/app-portage/g-octave/Manifest
index d1a8231ae2da..d5e0277374eb 100644
--- a/app-portage/g-octave/Manifest
+++ b/app-portage/g-octave/Manifest
@@ -1,5 +1,7 @@
DIST g-octave-0.4.1.tar.gz 52285 BLAKE2B d1e39931471c527c5542683c976487c56bca2a4666a437e110fa41b504287c0dd87aad94bf98298544c374c6d3faa0722fb3fab43228c56425be19b450ae0dd4 SHA512 424b95e626981aa5685795ffb3df1a1d608e5293adba074cc67f7dcf08d4a0c94a0174005f97a8da1ba1ae4233299e6a530af96ba3b9fd0d8b224915e947efb3
+DIST g-octave-db-b48055c.tar.gz 48280 BLAKE2B 21d507ec3a4484363457105667e54646b19b7a43b2ae303527faf19748495d31d7b23caab839f0e45c03806e1c7c390312c778f3f9dc2a9e2be1282b9b889514 SHA512 095a3327c1b00686a66c69592842a0258509d7a12e3e91bf4ba59c40c7f326c4f4e3355fe06fb3d8f14e3581c8e7e7c9b7c69b6c3b498943dfad8e68a028eb43
DIST g-octave-db-bdf02cb.tar.gz 39836 BLAKE2B fadc374e69bbf785f9e9ecae02eeba6f1c048d11503e5d97db2b4cc65c820ec829615be72ce823ef44ecb0e59e1b68dd40f7310d19d0b7706a2ff47ab95c0851 SHA512 5eae00e18b6d4633ed0feda3a2eea6b36da049c133bcd49e54481443ff435bfcab0f303ab9f0e8c3f48fad707625ee13b4564c510d89fa196e737c7599ea5fa6
DIST g-octave-patches-0.4.1-r7.tar.xz 8800 BLAKE2B 514b154d7cbb816f15d88a2efe0d0b8503a5a09dedfcc79ab61fdb2fca8be193752ffb477ad7ea7be167e341a91e8d83c5b70fa20ed9d55da6f668acc8743e6c SHA512 cb03afd16bb7f2f0ddf2c4f11bdde2748b8ee0124642cfed4697e19adda30b141b3217afa55e996acf3e295d06af0636ba235a631039e65ca7920eef3243e267
EBUILD g-octave-0.4.1-r7.ebuild 2380 BLAKE2B daad561ff18de84570b805e94b501c63a0757f49291c4b60d95d233030904407aff5277599b676268a5b3bbe2c0d55604df4335a7da327c305550f1c867eb0ee SHA512 ae0f74c39d02da1857fd6b98f1899130037fa2a0d01377d60935cf5d8cd014b5662476c1047a69d4ee1de3ce768efbcd8f54f794faf72ef39edb05ea99dd0267
+EBUILD g-octave-0.4.1-r8.ebuild 2168 BLAKE2B 328cdef22f1aaea04b6f1cca987112339b6078d4ef9db5a7e5fdffde6ed5b6e2a42cd28f3e2ceedcce599cdb4059e68b3f517a6376734eac38668174f6768a37 SHA512 6fb9f391965b9efc41a215027562e21ba396b50898acea7c1bf45bfcf88fbaba6d93d36955de0d013f19aa2e1d305e15bd94e23efa5b9e3effaf53bca8ad98d7
MISC metadata.xml 860 BLAKE2B 0cb64216659e4a4c6bc1a3e43b58efa7827362fd740975e1928d7acc5567f772d6ce1f1525cda1ed4f8fbcc2a1aa8ffb2c05eec94f8812480e6987dd16d2e975 SHA512 59c11da190a3f3ad81385d12e1ea0fa9f4d7c7ad5b9c65b8b96b296c4bbb9fd7d44e9cc99314e49754d64e9023abdfcfb189152bf2e93199edfc2f0f8a45259b
diff --git a/app-portage/g-octave/g-octave-0.4.1-r8.ebuild b/app-portage/g-octave/g-octave-0.4.1-r8.ebuild
new file mode 100644
index 000000000000..60060793e870
--- /dev/null
+++ b/app-portage/g-octave/g-octave-0.4.1-r8.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1
+
+DB_COMMIT="b48055c9b54ef4fb941a07eb3b763c868ef4e0ca"
+DB_DIR="rafaelmartins-${PN}-db-${DB_COMMIT:0:7}"
+
+DESCRIPTION="A tool that generates and installs ebuilds for Octave-Forge"
+HOMEPAGE="https://github.com/rafaelmartins/g-octave"
+SRC_URI="https://github.com/downloads/rafaelmartins/${PN}/${P}.tar.gz
+ https://github.com/rafaelmartins/${PN}-db/archive/${DB_COMMIT}.tar.gz ->
+ ${PN}-db-${DB_COMMIT:0:7}.tar.gz
+ https://dev.gentoo.org/~rafaelmartins/distfiles/${PN}-patches-${PV}-r7.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="sys-apps/portage"
+
+PATCHES=(
+ "${WORKDIR}/${PN}-patches-${PV}-r7"
+)
+
+distutils_enable_sphinx docs
+
+pkg_config() {
+ local db="$(g-octave --config db)"
+ mkdir -p "${db}" || die 'mkdir failed.'
+ einfo "Extracting g-octave database files to: ${db}"
+ tar -xzf "${EROOT}/usr/share/g-octave/${PN}-db-${DB_COMMIT:0:7}.tar.gz" -C "${db}" || die 'tar failed.'
+ rm -r "${db}"/{patches,octave-forge,info.json,manifest.json,timestamp} || die 'rm db files failed.'
+ mv "${db}/${DB_DIR}"/* "${db}" || die 'mv failed.'
+ rm -r "${db}/${DB_DIR}" || die 'rm db dir failed.'
+}
+
+python_prepare_all() {
+ sed -i -e 's/^has_fetch.*$/has_fetch = False/' scripts/g-octave \
+ || die 'failed to patch the g-octave main script'
+ distutils-r1_python_prepare_all
+}
+
+python_install_all() {
+ doman ${PN}.1
+ insinto /usr/share/g-octave
+ doins "${DISTDIR}"/${PN}-db-${DB_COMMIT:0:7}.tar.gz
+ distutils-r1_python_install_all
+}
+
+python_test() {
+ "${EPYTHON}" scripts/run_tests.py || die 'test failed.'
+}
+
+pkg_postinst() {
+ elog
+ elog 'To be able to use g-octave with the shipped package database, please'
+ elog 'edit your configuration file, clean your db directory and run:'
+ elog " emerge --config =${PF}"
+ elog
+ elog "If you are upgrading from =${PN}-0.3, please read this:"
+ elog "http://g-octave.readthedocs.org/en/latest/upgrading/#from-0-3-to-0-4"
+ elog
+ elog 'Please install the package manager that you want to use before run g-octave'
+ elog
+}