app-text/html2gmi: New package

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
This commit is contained in:
Alarig Le Lay 2021-02-05 14:31:27 +01:00
parent 509f0b0958
commit 6a42dcf537
Signed by: alarig
GPG key ID: 7AFE62C6DF8BCDEC
3 changed files with 90 additions and 0 deletions

View file

@ -0,0 +1,21 @@
DIST github.com%2F!luke!emmet%2Fhtml2gemini%2F@v%2Fv0.0.0-20201115160957-70fb785e5e75.mod 213 BLAKE2B 2d04bdc17d566c0d00491bbe67d545abc2de0beadcce3098030e6de6a27eb09c06a02350788fdf2cce1107125aa909da3a2a997c76983681037a4b2c66434749 SHA512 5a32a16cc8617bbebe0cc88e4fe12b6c976e877f1fb8cb9adacc29bccea7c0b6c7a1d12b921604eb965b973463aa22d2487160daea0f4cc4425747c5ef28a878
DIST github.com%2F!luke!emmet%2Fhtml2gemini%2F@v%2Fv0.0.0-20201115160957-70fb785e5e75.zip 20671 BLAKE2B b1e522dcac5ce0adaab0c82113be4b14423db7d25efa964338b43a466bbf0e79e97a67b9612aa8b7f41d256b0d55928475df41ca81bf0d6a269eabbd6bc282f9 SHA512 830f2286e5f0085f5821b1f89ea100c5c35f6696bb91b185b1908d1291713746cf410ff5c46d591f587ceb82ceea597c26722ce9593326267045e9b811fa9b10
DIST github.com%2F!luke!emmet%2Fhtml2gemini%2F@v%2Fv0.0.0-20201115162526-e63bbe688236.mod 213 BLAKE2B 2d04bdc17d566c0d00491bbe67d545abc2de0beadcce3098030e6de6a27eb09c06a02350788fdf2cce1107125aa909da3a2a997c76983681037a4b2c66434749 SHA512 5a32a16cc8617bbebe0cc88e4fe12b6c976e877f1fb8cb9adacc29bccea7c0b6c7a1d12b921604eb965b973463aa22d2487160daea0f4cc4425747c5ef28a878
DIST github.com%2F!luke!emmet%2Fhtml2gemini%2F@v%2Fv0.0.0-20201115162526-e63bbe688236.zip 20585 BLAKE2B 4bee6252eeb4439ec36086034e0e289f81e87af434e6f1b3dd6543e030ff57784e3ad6125c342851fd280df24a8c6574d294146038f13f144010c63e70b88b46 SHA512 afff092f00334537564152e85c8b2f2ad7aafe23623a51b45726ecc067dbd4cbdd2bd055a030a482890afbd9faa690b002c97b906e1874a9a17e7853e5dbbfc2
DIST github.com%2Fmattn%2Fgo-runewidth%2F@v%2Fv0.0.7.mod 45 BLAKE2B a7d3b1ffaf20b96cc98161ea6756d62d8380e7557859606dc7975b3de91a2d4142932d5008caf40b41d8ff2ac1ff33f672dbfac351f3e518922a036d7c116a93 SHA512 0cfd4101dd8ed90f80b7f4ce2928cd322b93855764abae65d66c5ff9888a7c8aec6ee6581c7f05d1c80db5c78003ee2afc8537fda8a3855e2349bfb8267aba61
DIST github.com%2Fmattn%2Fgo-runewidth%2F@v%2Fv0.0.7.zip 19130 BLAKE2B 85321c6a52022df0bdd9672de52cb5b7c1a652432047d94c088a71d612a81fa71d0cf9fa611c713f8f57c4e540ee0212223e987eae040e95014bea07e135171e SHA512 9ea745a6ca03c046d7b77707616fa756c01f58862286fa9805e99e3a0090be2fbdafd763f432f3c9ca927518db73ee0ef74e0b95248e515f50c2c2c1d9b14065
DIST github.com%2Folekukonko%2Ftablewriter%2F@v%2Fv0.0.4.mod 96 BLAKE2B f192300c52fbe1d75a3a9c89e3d808d25f13944940475b8f2654b3e3a1205721f6a9aa553ab6293f7ea4c9e8be3d695bf7fd5fb55c35e3179cef924fd1334273 SHA512 29bf0aa6ae9cc8d66b0e1bf852534dda3a3e0e16c918be357cc8f6fec14f2d2537a94cafa1ca9cd06b64363a8f0f0d3c00dabcb5137699aced8d16af767f6ce8
DIST github.com%2Folekukonko%2Ftablewriter%2F@v%2Fv0.0.4.zip 24551 BLAKE2B 4b7736d36b9c2b2d38decacecef3b6411e190d6504caf1376f6adbb0d4458889eb9c0aca1ff936e0223eaa26c7cc2e077671c490f998e071a6e63cb7645580c0 SHA512 bedaa028d6450dafaa54f17c444b8d2923cbce008bdf73ca442297793b1b5bf60e829cbb6175d5b24fcadb8b91470e07baa369180a61d3e9a43ccee5ba18c150
DIST github.com%2Fspf13%2Fpflag%2F@v%2Fv1.0.5.mod 39 BLAKE2B c9d700f96874e0a3977c2ffc7fd321acfffd8081aaa70ca50421ca55253fbe0636d48eca8f7093df202861f0a5f908fa00303533232c83c78bdba84e2973bba7 SHA512 8071c316d33aff1d8ffcabaeb42e8f9320465d83600cb57ac5ef071569f948d5cfd69e1bd2e92855c061395c1b814e84d1705f42e37f00d5bc713b6e724f29f5
DIST github.com%2Fspf13%2Fpflag%2F@v%2Fv1.0.5.zip 88931 BLAKE2B 7adcdaa60d4a3fd99b0f3e7e6888178b0a8d141ebcc0166b12df4bd4566500929bc792c391d33201b1ce215b6ca8ebb578cfcabb027ba453a54986270f5e37a1 SHA512 9a81f0635ca8ac059c48a15cbf625a7c91513f95a9b402ba166d48ab72d5d38cbd941d5309446f5637bd7c23eef35b60fef2f06e8b557f415dd8409a6ddf43e9
DIST github.com%2Fssor%2Fbom%2F@v%2Fv0.0.0-20170718123548-6386211fdfcf.mod 27 BLAKE2B 9dffca418389d3ec06a4d153b24ee0ae125d83661449f325096d7da41ac6636ef83cb72e4f3b09660daa0bfe984e8921bdc78404555ea2271bbabef599b0285e SHA512 a7b93a8318845c58a3eaed2495342f8630d62c022fb3e4698b514e08f6796737efff0088162faa96c48a3219a78f48dba26a0cdd56a87eaa17e756d11a0b000f
DIST github.com%2Fssor%2Fbom%2F@v%2Fv0.0.0-20170718123548-6386211fdfcf.zip 2796 BLAKE2B 6eb19a76e481d31c6459509356fccf2d13c98b6535b0dc5028c9dbfc881bbdf9bbc893393f7be470cc0ac45b64284abe7b95543e4d391dce1a5b743c9fb28b30 SHA512 94b67f94a9ac40f997cbf1e4ab0652f048867a5b92180761b7ee7425b876607c279bab7372d90f9b613ca86bf3d03d076823b4558a7d8e1c092a5d77e235d2b5
DIST golang.org%2Fx%2Fcrypto%2F@v%2Fv0.0.0-20190308221718-c2843e01d9a2.mod 88 BLAKE2B aec7d0eea1278eb3d1568d5bfb4041267501ad14457ebfcbdbc5fe21473170b8616ca4028f52af2edbfd85922cbe04540b4b0df7f69f63197698143cc5557a7a SHA512 2df49895053b36fed7ea905aa73f86568fbafd79ff0a7976679d8c77cf15025129435d9dbfd89367b611b1aadbea4f4bd1835eb4efa9ea702466e443638d379e
DIST golang.org%2Fx%2Fcrypto%2F@v%2Fv0.0.0-20200622213623-75b288015ac9.mod 155 BLAKE2B 8bba3353db8ceb3b9fe40b8fd59aacde169776a4a553a069a04836bbf15e5a9a8d7a2d39feed98dac6cb890198180fda39f26b528ff95f24c5b2bbf6601b45c3 SHA512 7c5a755a03063d47d259fda0a6c2faa63c2f30b98dbac583e106aaa817d6cde3e07551e0b5e08f3a25db4c4ca45a23cebe993ae6f3d39c88deeaf2c7d8086a06
DIST golang.org%2Fx%2Fnet%2F@v%2Fv0.0.0-20190404232315-eb5bcb51f2a3.mod 119 BLAKE2B e042b2716739483252c3340451b2c3c7b421fdf8d6b3e0333e979802fca66159596982ea63a24b6a64457b2757a0ad24cbb9ea032bab4c5377edf84a3ea18b97 SHA512 26b6c92eecd2208967336d4d23f8a71f77f9a73643ad1e5cd84dee36b2f626fffc806e4dd33acc284831a0961e2b363d898a747903235945fbfb665c5b4d5ef2
DIST golang.org%2Fx%2Fnet%2F@v%2Fv0.0.0-20200822124328-c89045814202.mod 181 BLAKE2B 05d6754fa387bac4a6481ad34fb7b681064fc6443b3f70cba316fe2fd0896050e4a772fd8e1be655130a00bb5feaded4725ffea1c5dd6ba55ba55315aaae34d2 SHA512 54d242da2536da38e292b62a955b3961f7b0a9789fe36c5f7ae93577eeac734a6e5bac21a657cf71d488395278cd7683db538e16a9c853835277a800a9d43471
DIST golang.org%2Fx%2Fnet%2F@v%2Fv0.0.0-20200822124328-c89045814202.zip 1504684 BLAKE2B 988de9602740660bd9c8484f9413e65219eae6a8f906c0f0450443abeb8808aece8644957e8a405284e7fd1ee234d48318751db72ee825050f78b3fa13307f58 SHA512 9026af554df3cd3bc570a3a521a29007f906a1523852619f7e8e1d1b2e3504bb60e40bdefa5a003a8eb32da4a9dc98ebc4e6ca615fe87ca4269b7b3351414a56
DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20190215142949-d0b11bdaac8a.mod 24 BLAKE2B 64a70c4594f5d3c37d962c1ed07630fba8abeaf534242f8f1509af271684499252af9a2320d5bac8e44064dba344b807535e4e9dd085fc0fb47bd9304120601a SHA512 ffe50fccf7f1d200f2ebc805b190e3f10c5a3184458a38f4590e520d7ce115e1520fbabe56651bbdc2e08da4a8db5ac86d0e88728efde3ab26c64ab4e0cd604c
DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20190412213103-97732733099d.mod 33 BLAKE2B 8be160de26713fd50f15adfb6fd7fff2643ee587aa17de9385b1e315869d0ecf102fc567294666bf232aa677d1ab04ba8341157f3d9b66a0f53543a7a47cf148 SHA512 0c7b940d567c7685dcb55c76c69aedeaab2170f4f3bde458994c879bf344169f34fb3f3ca899b0f138a8b0b8be5031217b57a6edf5980e6066ff5cb92d1ff9ab
DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20200323222414-85ca7c5b95cd.mod 33 BLAKE2B 8be160de26713fd50f15adfb6fd7fff2643ee587aa17de9385b1e315869d0ecf102fc567294666bf232aa677d1ab04ba8341157f3d9b66a0f53543a7a47cf148 SHA512 0c7b940d567c7685dcb55c76c69aedeaab2170f4f3bde458994c879bf344169f34fb3f3ca899b0f138a8b0b8be5031217b57a6edf5980e6066ff5cb92d1ff9ab
DIST golang.org%2Fx%2Ftext%2F@v%2Fv0.3.0.mod 25 BLAKE2B 31009af0fdcd0f8730c9985287e6e364ec4e5183e57e92560dbc80a2010eced51b8a90f01a82b49384268c8a0adbf69d179c205d3f68e0eb459169d2ea9528f0 SHA512 ca081ef7cccd7bbedc6843fbe0c452352661a07e1298cd02ff338ed79d807c6401d613a3cf20011189d2f98a794ffa410547b3e352eb58a6f0a84822285d391d

View file

@ -0,0 +1,61 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EGO_PN="github.com/LukeEmmet/${PN}@master"
inherit go-module git-r3
DESCRIPTION="Command line application to convert HTML to GMI"
HOMEPAGE="https://github.com/LukeEmmet/html2gmi"
EGO_SUM=(
"github.com/LukeEmmet/html2gemini v0.0.0-20201115160957-70fb785e5e75"
"github.com/LukeEmmet/html2gemini v0.0.0-20201115160957-70fb785e5e75/go.mod"
"github.com/LukeEmmet/html2gemini v0.0.0-20201115162526-e63bbe688236"
"github.com/LukeEmmet/html2gemini v0.0.0-20201115162526-e63bbe688236/go.mod"
"github.com/mattn/go-runewidth v0.0.7"
"github.com/mattn/go-runewidth v0.0.7/go.mod"
"github.com/olekukonko/tablewriter v0.0.4"
"github.com/olekukonko/tablewriter v0.0.4/go.mod"
"github.com/spf13/pflag v1.0.5"
"github.com/spf13/pflag v1.0.5/go.mod"
"github.com/ssor/bom v0.0.0-20170718123548-6386211fdfcf"
"github.com/ssor/bom v0.0.0-20170718123548-6386211fdfcf/go.mod"
"golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod"
"golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod"
"golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod"
"golang.org/x/net v0.0.0-20200822124328-c89045814202"
"golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod"
"golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod"
"golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod"
"golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod"
"golang.org/x/text v0.3.0/go.mod"
)
go-module_set_globals
SRC_URI="${EGO_SUM_SRC_URI}"
EGIT_REPO_URI="https://github.com/LukeEmmet/html2gmi.git"
LICENSE="MIT"
SLOT="0"
KEYWORDS=""
DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND=""
src_unpack() {
git-r3_fetch
git-r3_checkout
go-module_src_unpack
}
src_compile() {
go build -o ${PN} . || die
}
src_install() {
dobin html2gmi
einstalldocs
}

View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>alarig@swordarmor.fr</email>
<name>Alarig Le Lay</name>
</maintainer>
</pkgmetadata>