dev-go/blackfriday: new package
authorWilliam Hubbs <williamh@gentoo.org>
Mon, 24 Aug 2015 22:48:35 +0000 (17:48 -0500)
committerWilliam Hubbs <williamh@gentoo.org>
Mon, 24 Aug 2015 23:01:36 +0000 (18:01 -0500)
blackfriday is a markdown processor implemented in Go.

dev-go/blackfriday/Manifest [new file with mode: 0644]
dev-go/blackfriday/blackfriday-1.2_p20150720.ebuild [new file with mode: 0644]
dev-go/blackfriday/blackfriday-9999.ebuild [new file with mode: 0644]
dev-go/blackfriday/metadata.xml [new file with mode: 0644]

diff --git a/dev-go/blackfriday/Manifest b/dev-go/blackfriday/Manifest
new file mode 100644 (file)
index 0000000..74ea8d0
--- /dev/null
@@ -0,0 +1 @@
+DIST blackfriday-1.2_p20150720.tar.gz 67598 SHA256 cfc2de4f3f50f6df23e383d81d0b349ab0eec6123e70f373847f4f59f9411bac SHA512 5c660539e50deef488f380d0dfe9cdfdae6b01f946743b439d08f7a448bda83ac4e0dc906d19458f1760ce9cd1192d5398d0c961dd762417b4af2cf18bff1777 WHIRLPOOL 539055f59d649f53ba79a1f939037d87f2fb5f8632fba7d23540e8b04413859940a38e44960f68f24fbd6e7ab67e910af62ae6058176c12e6f18c8ca2ecdb871
diff --git a/dev-go/blackfriday/blackfriday-1.2_p20150720.ebuild b/dev-go/blackfriday/blackfriday-1.2_p20150720.ebuild
new file mode 100644 (file)
index 0000000..e22ccf5
--- /dev/null
@@ -0,0 +1,24 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+EGO_PN=github.com/russross/${PN}
+
+if [[ ${PV} = *9999* ]]; then
+       inherit golang-vcs
+else
+       KEYWORDS="~amd64"
+       EGIT_COMMIT="8cec3a8"
+       SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+       inherit golang-vcs-snapshot
+fi
+inherit golang-build
+
+DESCRIPTION="a markdown processor implemented in Go"
+HOMEPAGE="https://github.com/russross/blackfriday"
+LICENSE="BSD-2"
+SLOT="0"
+IUSE=""
+DEPEND="dev-go/sanitized-anchor-name"
+RDEPEND=""
diff --git a/dev-go/blackfriday/blackfriday-9999.ebuild b/dev-go/blackfriday/blackfriday-9999.ebuild
new file mode 100644 (file)
index 0000000..e22ccf5
--- /dev/null
@@ -0,0 +1,24 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+EGO_PN=github.com/russross/${PN}
+
+if [[ ${PV} = *9999* ]]; then
+       inherit golang-vcs
+else
+       KEYWORDS="~amd64"
+       EGIT_COMMIT="8cec3a8"
+       SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+       inherit golang-vcs-snapshot
+fi
+inherit golang-build
+
+DESCRIPTION="a markdown processor implemented in Go"
+HOMEPAGE="https://github.com/russross/blackfriday"
+LICENSE="BSD-2"
+SLOT="0"
+IUSE=""
+DEPEND="dev-go/sanitized-anchor-name"
+RDEPEND=""
diff --git a/dev-go/blackfriday/metadata.xml b/dev-go/blackfriday/metadata.xml
new file mode 100644 (file)
index 0000000..8073105
--- /dev/null
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <maintainer>
+               <email>williamh@gentoo.org</email>
+               <name>William Hubbs</name>
+       </maintainer>
+       <longdescription lang="en">
+               Blackfriday is a markdown proccessor implemented in Go.
+       </longdescription>
+</pkgmetadata>