pkgsrc-WIP-changes archive

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

wip/ruby-taskwarrior-web: a few clean up



Module Name:	pkgsrc-wip
Committed By:	Takahiro Kambe <taca%back-street.net@localhost>
Pushed By:	taca
Date:		Sun Jan 29 15:03:53 2023 +0900
Changeset:	8a38338f7e5f1241cd7aab8977809af9aecc47f5

Modified Files:
	ruby-taskwarrior-web/Makefile
	ruby-taskwarrior-web/PLIST
Added Files:
	ruby-taskwarrior-web/ALTERNATIVES

Log Message:
wip/ruby-taskwarrior-web: a few clean up

* Add ALTERNATIVES file.
* Fix PLIST for pkg_alternatives support.
* Drop dependency to ruby-json.

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

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

diffstat:
 ruby-taskwarrior-web/ALTERNATIVES | 1 +
 ruby-taskwarrior-web/Makefile     | 2 +-
 ruby-taskwarrior-web/PLIST        | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

diffs:
diff --git a/ruby-taskwarrior-web/ALTERNATIVES b/ruby-taskwarrior-web/ALTERNATIVES
new file mode 100644
index 0000000000..e17e056df9
--- /dev/null
+++ b/ruby-taskwarrior-web/ALTERNATIVES
@@ -0,0 +1 @@
+bin/task-web @PREFIX@/bin/task-web@RUBY_VER@
diff --git a/ruby-taskwarrior-web/Makefile b/ruby-taskwarrior-web/Makefile
index 9d8c06d1d1..4755941f3c 100644
--- a/ruby-taskwarrior-web/Makefile
+++ b/ruby-taskwarrior-web/Makefile
@@ -1,6 +1,7 @@
 # $NetBSD$
 
 DISTNAME=	taskwarrior-web-1.1.12
+PKGREVISION=	1
 CATEGORIES=	www
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
@@ -11,7 +12,6 @@ LICENSE=	mit
 RUBYGEM_OPTIONS+=	--format-executable
 
 DEPENDS+=	${RUBY_PKGPREFIX}-activesupport32>=3.2.0:../../devel/ruby-activesupport32
-DEPENDS+=	${RUBY_PKGPREFIX}-json>=1.8.0:../../textproc/ruby-json
 DEPENDS+=	${RUBY_PKGPREFIX}-parseconfig>=1.0.7:../../devel/ruby-parseconfig
 DEPENDS+=	${RUBY_PKGPREFIX}-rack-flash3>=1.0.0:../../wip/ruby-rack-flash3
 DEPENDS+=	${RUBY_PKGPREFIX}-rinku:../../wip/ruby-rinku
diff --git a/ruby-taskwarrior-web/PLIST b/ruby-taskwarrior-web/PLIST
index 6a6a44e6c7..0a12a09ec6 100644
--- a/ruby-taskwarrior-web/PLIST
+++ b/ruby-taskwarrior-web/PLIST
@@ -1,5 +1,5 @@
 @comment $NetBSD$
-bin/task-web
+bin/task-web${RUBY_VER}
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_LIBDIR}/.gitignore
 ${GEM_LIBDIR}/.rspec


Home | Main Index | Thread Index | Old Index