summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-05-01 14:39:42 +0200
committerMichał Górny <mgorny@gentoo.org>2023-05-01 14:39:42 +0200
commit9a60e34137c286d50adaebea84b68417a73db185 (patch)
tree9ebe013402666beacad64d8dca47a89276aee965 /app-portage
parentdev-util/systemtap: Remove old (diff)
downloadgentoo-9a60e34137c286d50adaebea84b68417a73db185.tar.gz
gentoo-9a60e34137c286d50adaebea84b68417a73db185.tar.bz2
gentoo-9a60e34137c286d50adaebea84b68417a73db185.zip
app-portage/g-octave: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-portage')
-rw-r--r--app-portage/g-octave/Manifest1
-rw-r--r--app-portage/g-octave/g-octave-0.4.1-r7.ebuild78
2 files changed, 0 insertions, 79 deletions
diff --git a/app-portage/g-octave/Manifest b/app-portage/g-octave/Manifest
index 7de0f7892037..cb89de9707f3 100644
--- a/app-portage/g-octave/Manifest
+++ b/app-portage/g-octave/Manifest
@@ -1,4 +1,3 @@
DIST g-octave-0.4.1.gh.tar.gz 47496 BLAKE2B 1144b04b99ce4bdf925947cf090b1e723df2af4fc7297bdc31f21986f34e53bbd46fb5f15e2b95e412c6575727920f405e267bf9963c62e07c5fccf46372497f SHA512 08dcc66a2c3f7cd98580b79013239a6e3ae3ebb1cf5b2208294c84a1242a16bd1d2ed1f96899e4c6d1d56e04b43ea64d22289a507fd4c7b73977a3c12de42789
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
diff --git a/app-portage/g-octave/g-octave-0.4.1-r7.ebuild b/app-portage/g-octave/g-octave-0.4.1-r7.ebuild
deleted file mode 100644
index 58fd6c2813d6..000000000000
--- a/app-portage/g-octave/g-octave-0.4.1-r7.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_9 )
-DISTUTILS_USE_SETUPTOOLS=no
-inherit distutils-r1
-
-DB_COMMIT="bdf02cbf0a8d017c6c1bddeffd6f03d5d90695ed"
-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/rafaelmartins/g-octave/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.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-${PVR}.tar.xz
-"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc"
-
-BDEPEND="doc? ( >=dev-python/sphinx-1.0 )"
-RDEPEND="sys-apps/portage"
-
-python_prepare_all() {
- eapply "${WORKDIR}"/${PN}-patches-${PVR}
- 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_compile_all() {
- use doc && emake -C docs html
-}
-
-python_install_all() {
- local HTML_DOCS=( ${PN}.html )
- doman ${PN}.1
- if use doc; then
- mv docs/_build/{html,sphinx} || die 'mv failed.'
- HTML_DOCS+=( docs/_build/sphinx )
- fi
- 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
-}
-
-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 -rf "${db}"/{patches,octave-forge,info.json,manifest.json,timestamp} || die 'rm db files failed.'
- mv -f "${db}/${DB_DIR}"/* "${db}" || die 'mv failed.'
- rm -rf "${db}/${DB_DIR}" || die 'rm db dir failed.'
-}