sys-fs/tmsu: version bump ahead of Gentoo main
https://github.com/gentoo/gentoo/pull/10626#issuecomment-570885146 Package-Manager: Portage-2.3.83, Repoman-2.3.20 Signed-off-by: Horea Christian <chr@chymera.eu>
This commit is contained in:
parent
f44d2a484f
commit
884755b2b3
5
sys-fs/tmsu/ChangeLog
Normal file
5
sys-fs/tmsu/ChangeLog
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
*tmsu-0.7.5 (06 Jan 2020)
|
||||||
|
|
||||||
|
06 Jan 2020; <chymera@gentoo.org> +metadata.xml, +tmsu-0.7.5.ebuild:
|
||||||
|
sys-fs/tmsu: version bump ahead of Gentoo main
|
||||||
|
https://github.com/gentoo/gentoo/pull/10626#issuecomment-570885146
|
2
sys-fs/tmsu/Manifest
Normal file
2
sys-fs/tmsu/Manifest
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
DIST github.com-mattn-go-sqlite3-v1.12.0.tar.gz 2282527 SHA256 f74a75ba86ecb52e1deef5102cdf3702e6c6bb524f399b7dfcd7d6d99e35fb30 SHA512 7e8656ecf70b2ffc40f6351b661f5eb75caa63c3e9784a805821bf0ca1f087203f1afe80f58af0e5520ff04baff728c93d670fd7ecb6662bb0fed1dd798ada96 WHIRLPOOL f0791e23d54fa87dd9f8852bddf3cfc078579844c37b3b68b577d1b8efd27c09c49fb054b8f20a319170074f6f5728879809e65f1126c4942b18c0d998d11846
|
||||||
|
DIST tmsu-0.7.5.tar.gz 98766 SHA256 0ac7f09336aaedf73623c4f486c05137c024a726c16dd32525463aee9d70b46a SHA512 6f89eb156d2be86650ab84847ca0ddea985cdddf35db5f5843632b6a54f88681584b6864e4a14bc36cf1949713e098067e6f8dda0242f27b6061720165f71be1 WHIRLPOOL 6981f11f5313f3c222b0adaeb8bb75e7d439f328a92c5c6771a68f169df0ee774daf713d4f646456647ce74782c2e97a73e02c03a9b6f146f1455ded4cbf875c
|
21
sys-fs/tmsu/metadata.xml
Normal file
21
sys-fs/tmsu/metadata.xml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>horea.christ@gmail.com</email>
|
||||||
|
<name>Horea Christian</name>
|
||||||
|
</maintainer>
|
||||||
|
<maintainer type="project">
|
||||||
|
<email>proxy-maint@gentoo.org</email>
|
||||||
|
<name>Proxy Maintainers</name>
|
||||||
|
</maintainer>
|
||||||
|
<longdescription lang="en">
|
||||||
|
TMSU is a tool for tagging your files. It provides a simple
|
||||||
|
command-line utility for applying tags and a virtual
|
||||||
|
filesystem to give you a tag-based view of your files from
|
||||||
|
any other program.
|
||||||
|
</longdescription>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="github">oniony/TMSU</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
54
sys-fs/tmsu/tmsu-0.7.5.ebuild
Normal file
54
sys-fs/tmsu/tmsu-0.7.5.ebuild
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
EGO_PN="github.com/oniony/TMSU/"
|
||||||
|
EGO_VENDOR=( "github.com/mattn/go-sqlite3 v1.12.0" )
|
||||||
|
|
||||||
|
inherit golang-build golang-vcs-snapshot
|
||||||
|
|
||||||
|
DESCRIPTION="Files tagger and virtual tag-based filesystem"
|
||||||
|
HOMEPAGE="https://github.com/oniony/TMSU/wiki"
|
||||||
|
SRC_URI="
|
||||||
|
https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||||
|
${EGO_VENDOR_URI}
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENSE="GPL-3+"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
IUSE="test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND="sys-fs/fuse:0"
|
||||||
|
DEPEND="
|
||||||
|
dev-lang/go
|
||||||
|
dev-libs/go-fuse
|
||||||
|
test? ( ${RDEPEND} )
|
||||||
|
"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
mkdir "${WORKDIR}/${P}/src/${EGO_PN}vendor/src"
|
||||||
|
mv "${WORKDIR}/${P}/src/${EGO_PN}vendor/github.com" "${WORKDIR}/${P}/src/${EGO_PN}vendor/src/"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
pushd "${WORKDIR}/${P}/src/${EGO_PN}"
|
||||||
|
GOPATH="${WORKDIR}/${P}/src/${EGO_PN}vendor/" emake
|
||||||
|
popd || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dobin "${WORKDIR}/${P}/src/${EGO_PN}bin/tmsu"
|
||||||
|
dobin "${WORKDIR}/${P}/src/${EGO_PN}misc/bin/"*
|
||||||
|
doman "${WORKDIR}/${P}/src/${EGO_PN}misc/man/tmsu."*
|
||||||
|
insinto /usr/share/zsh/site-functions
|
||||||
|
doins "${WORKDIR}/${P}/src/${EGO_PN}misc/zsh/_tmsu"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
cd "${WORKDIR}/${P}/tests" || die
|
||||||
|
./runall || die
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user