Added net-libs/lazynpm-0.1.4
This commit is contained in:
parent
2ec71f39dd
commit
85db3aa6ba
14
metadata/md5-cache/net-libs/lazynpm-0.1.4
Normal file
14
metadata/md5-cache/net-libs/lazynpm-0.1.4
Normal file
@ -0,0 +1,14 @@
|
||||
BDEPEND=>=dev-lang/go-1.18 app-arch/unzip
|
||||
DEFINED_PHASES=compile install unpack
|
||||
DESCRIPTION=terminal UI for npm
|
||||
EAPI=8
|
||||
HOMEPAGE=https://github.com/jesseduffield/lazynpm
|
||||
INHERIT=go-module
|
||||
KEYWORDS=~amd64 ~arm64
|
||||
LICENSE=Apache-2.0 BSD ISC MIT Unlicense
|
||||
RDEPEND=net-libs/nodejs
|
||||
RESTRICT=strip
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/jesseduffield/lazynpm/archive/v0.1.4.tar.gz -> lazynpm-0.1.4.tar.gz
|
||||
_eclasses_=multiprocessing b4e253ab22cef7b1085e9b67c7a3b730 toolchain-funcs 862d337d98edb576796827be2c6b11ca multilib c19072c3cd7ac5cb21de013f7e9832e0 go-module 8624eede24936fd7666e5298e5332f22
|
||||
_md5_=79d6a966ec95f1db4cf4ad25a1d4e7aa
|
1
net-libs/lazynpm/Manifest
Normal file
1
net-libs/lazynpm/Manifest
Normal file
@ -0,0 +1 @@
|
||||
DIST lazynpm-0.1.4.tar.gz 3488094 BLAKE2B 6f255f4ef3c32f761463db454ed5003f6e07ed963361bbedb28a6422e98b8859644911ed4ab46113e4ef54dbef55ef0ef1aa1d94b63f932d5ae17694779d82d9 SHA512 0ff0960ae29487f5c10caf286f9aa0284897f29ac97a730ecc0fb7105f5097f36980da5b3df7742c84b57e764b0eb085bc7ab11824990fbc30b11d3713f211f5
|
30
net-libs/lazynpm/lazynpm-0.1.4.ebuild
Normal file
30
net-libs/lazynpm/lazynpm-0.1.4.ebuild
Normal file
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit go-module
|
||||
|
||||
DESCRIPTION="terminal UI for npm"
|
||||
HOMEPAGE="https://github.com/jesseduffield/lazynpm"
|
||||
SRC_URI="https://github.com/jesseduffield/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 BSD ISC MIT Unlicense"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
|
||||
S="${WORKDIR}/${P}"
|
||||
|
||||
RDEPEND="net-libs/nodejs"
|
||||
|
||||
DOCS=( {CODE-OF-CONDUCT,CONTRIBUTING,README}.md docs )
|
||||
|
||||
src_compile() {
|
||||
ego build -o bin/${PN} \
|
||||
-ldflags "-X main.version=${PV}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/${PN}
|
||||
einstalldocs
|
||||
}
|
23
net-libs/lazynpm/metadata.xml
Normal file
23
net-libs/lazynpm/metadata.xml
Normal file
@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>torokhov-s-a@yandex.ru</email>
|
||||
<name>Sergey Torokhov</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
A simple terminal UI for npm commands, written in Go with the gocui library.
|
||||
|
||||
npm is pretty cool, but some of its workflows are a little too much for somebody with my atrocious short term memory.
|
||||
If I need to link a couple of dependencies to a package I need to do an npm install on the package so we're up to date,
|
||||
then cd to each dependency package and npm install, then npm run build,
|
||||
then npm link if it's not already globally linked (and how would I know that it is?) and then cd back to the original package and do npm link "dependency" for each dependency.
|
||||
Pretty much every time I'll get halfway through, suspect that I've forgotten a step, then start again from scratch.
|
||||
But who needs a functionining brain when have a tool where every step in the process take one keypress and at a glance you can see how everything is linked up?
|
||||
|
||||
lazynpm is the younger brother of lazygit and lazydocker, and has learnt from both its siblings how best to make life lazier in the terminal so that you can focus on what matters: programming.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">jesseduffield/lazynpm</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Loading…
x
Reference in New Issue
Block a user