pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Import go-douceur-20180322 to wip



Module Name:	pkgsrc-wip
Committed By:	K.I.A.Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By:	jihbed
Date:		Tue Jan 12 09:41:39 2021 +0100
Changeset:	bc7e82d66004f5278884feb62fdb7d706b5e5e0c

Modified Files:
	Makefile
Added Files:
	go-douceur/DESCR
	go-douceur/Makefile
	go-douceur/PLIST
	go-douceur/buildlink3.mk
	go-douceur/distinfo

Log Message:
Import go-douceur-20180322 to wip

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=bc7e82d66004f5278884feb62fdb7d706b5e5e0c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                 |  1 +
 go-douceur/DESCR         |  4 ++++
 go-douceur/Makefile      | 23 +++++++++++++++++++++++
 go-douceur/PLIST         | 21 +++++++++++++++++++++
 go-douceur/buildlink3.mk | 20 ++++++++++++++++++++
 go-douceur/distinfo      |  6 ++++++
 6 files changed, 75 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index b5a810b51f..f73d8577fc 100644
--- a/Makefile
+++ b/Makefile
@@ -1186,6 +1186,7 @@ SUBDIR+=	go-collectd
 SUBDIR+=	go-color
 SUBDIR+=	go-cyclo
 SUBDIR+=	go-concurrent
+SUBDIR+=	go-douceur
 SUBDIR+=	go-dotenv
 SUBDIR+=	go-easyjson
 SUBDIR+=	go-ewma
diff --git a/go-douceur/DESCR b/go-douceur/DESCR
new file mode 100644
index 0000000000..450bcb2672
--- /dev/null
+++ b/go-douceur/DESCR
@@ -0,0 +1,4 @@
+Parser is vaguely inspired by CSS Syntax.
+Module Level 3 and corresponding JS parser.
+Inliner only parses CSS defined in HTML.
+document, it DOES NOT fetch external stylesheets
diff --git a/go-douceur/Makefile b/go-douceur/Makefile
new file mode 100644
index 0000000000..5c6f9b8cb8
--- /dev/null
+++ b/go-douceur/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD$
+
+DISTNAME=	douceur-20180322
+PKGNAME=	go-${DISTNAME}
+GITHUB_PROJECT=	douceur
+GITHUB_TAG=	f9e29746e1161076eae141dd235f5d98b546ec3e
+CATEGORIES=	www
+MASTER_SITES=	${MASTER_SITE_GITHUB:=aymerick/}
+
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
+HOMEPAGE=	https://github.com/aymerick/douceur/
+COMMENT=	Simple CSS parser and inliner in Go
+LICENSE=	mit
+
+GO_DIST_BASE=	${GITHUB_PROJECT}-${GITHUB_TAG}
+GO_SRCPATH=	github.com/aymerick/${GITHUB_PROJECT}
+
+.include "../../net/go-net/buildlink3.mk"
+.include "../../wip/go-cascadia/buildlink3.mk"
+.include "../../wip/go-goquery/buildlink3.mk"
+.include "../../wip/go-gorilla-css/buildlink3.mk"
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-douceur/PLIST b/go-douceur/PLIST
new file mode 100644
index 0000000000..07e429c53c
--- /dev/null
+++ b/go-douceur/PLIST
@@ -0,0 +1,21 @@
+@comment $NetBSD$
+bin/douceur
+gopkg/pkg/${GO_PLATFORM}/github.com/aymerick/douceur/css.a
+gopkg/pkg/${GO_PLATFORM}/github.com/aymerick/douceur/inliner.a
+gopkg/pkg/${GO_PLATFORM}/github.com/aymerick/douceur/parser.a
+gopkg/src/github.com/aymerick/douceur/CHANGELOG.md
+gopkg/src/github.com/aymerick/douceur/LICENSE
+gopkg/src/github.com/aymerick/douceur/README.md
+gopkg/src/github.com/aymerick/douceur/css/declaration.go
+gopkg/src/github.com/aymerick/douceur/css/rule.go
+gopkg/src/github.com/aymerick/douceur/css/stylesheet.go
+gopkg/src/github.com/aymerick/douceur/douceur.go
+gopkg/src/github.com/aymerick/douceur/douceur.png
+gopkg/src/github.com/aymerick/douceur/inliner/element.go
+gopkg/src/github.com/aymerick/douceur/inliner/inliner.go
+gopkg/src/github.com/aymerick/douceur/inliner/inliner_test.go
+gopkg/src/github.com/aymerick/douceur/inliner/style_declaration.go
+gopkg/src/github.com/aymerick/douceur/inliner/style_rule.go
+gopkg/src/github.com/aymerick/douceur/inliner/style_rule_test.go
+gopkg/src/github.com/aymerick/douceur/parser/parser.go
+gopkg/src/github.com/aymerick/douceur/parser/parser_test.go
diff --git a/go-douceur/buildlink3.mk b/go-douceur/buildlink3.mk
new file mode 100644
index 0000000000..8ffd42bead
--- /dev/null
+++ b/go-douceur/buildlink3.mk
@@ -0,0 +1,20 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	go-douceur
+
+.if !defined(GO_DOUCEUR_BUILDLINK3_MK)
+GO_DOUCEUR_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-douceur=	${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-douceur?=	build
+
+BUILDLINK_API_DEPENDS.go-douceur+=	go-douceur>=20180322
+BUILDLINK_PKGSRCDIR.go-douceur?=	../../wip/go-douceur
+
+.include "../../net/go-net/buildlink3.mk"
+.include "../../wip/go-cascadia/buildlink3.mk"
+.include "../../wip/go-goquery/buildlink3.mk"
+.include "../../wip/go-gorilla-css/buildlink3.mk"
+.endif	# GO_DOUCEUR_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-go-douceur
diff --git a/go-douceur/distinfo b/go-douceur/distinfo
new file mode 100644
index 0000000000..ddd455a3a1
--- /dev/null
+++ b/go-douceur/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (douceur-20180322-f9e29746e1161076eae141dd235f5d98b546ec3e.tar.gz) = 75bc4a60c48853cb0e983fc8ddd46ef729613665
+RMD160 (douceur-20180322-f9e29746e1161076eae141dd235f5d98b546ec3e.tar.gz) = 3fea2174a1dbfd45d405eaf0dd5d26aee2309079
+SHA512 (douceur-20180322-f9e29746e1161076eae141dd235f5d98b546ec3e.tar.gz) = 164bd0c2f81b48b7b8f9c87992ce90183013fd7a3133cbad06df495a5125d432b8013840ee38d3f509e910354968c76f3bed599aed32fd0c6dcb22752cb5e507
+Size (douceur-20180322-f9e29746e1161076eae141dd235f5d98b546ec3e.tar.gz) = 20836 bytes


Home | Main Index | Thread Index | Old Index