mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 20:43:09 -04:00
dev-octave/matlab2tikz: new package, add 1.1.0
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
1
dev-octave/matlab2tikz/Manifest
Normal file
1
dev-octave/matlab2tikz/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST matlab2tikz-1.1.0.tar.gz 178123 BLAKE2B 6cbc85863f5ca0e1868995b80af82ee92775d2d147049efd3774a8536d9c542f75006b742226fd50852ffe58fc79c83f6d2e215e99ba04eef0b0c0078034a1f6 SHA512 be007d294947841adb322ddf311bab9f3e151e776d9314978a2d32effe4d236591c979eb7ba1410231a1b8618c12148a90f10530a9273905561e7d7caf9de280
|
||||
30
dev-octave/matlab2tikz/matlab2tikz-1.1.0.ebuild
Normal file
30
dev-octave/matlab2tikz/matlab2tikz-1.1.0.ebuild
Normal file
@@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit optfeature
|
||||
|
||||
DESCRIPTION="convert native MATLAB(R) figures to TikZ/Pgfplots"
|
||||
HOMEPAGE="https://github.com/matlab2tikz/matlab2tikz"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND=">=sci-mathematics/octave-4.0.0"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_install() {
|
||||
dodoc README.md CHANGELOG.md
|
||||
export pkgpath="/usr/share/octave/site/m/${PN}"
|
||||
insinto "${pkgpath}"
|
||||
doins -r src/*
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# TODO: is there a way to do this automatically for all users?
|
||||
einfo "Run addpath('${pkgpath}'); inside octave to add this package to the octave path"
|
||||
optfeature "to build the generated files" dev-texlive/texlive-pictures dev-texlive/texlive-latexextra
|
||||
}
|
||||
12
dev-octave/matlab2tikz/metadata.xml
Normal file
12
dev-octave/matlab2tikz/metadata.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
<name>Alessandro Barbieri</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/matlab2tikz/matlab2tikz/issues</bugs-to>
|
||||
<remote-id type="github">matlab2tikz/matlab2tikz</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user