Now with a REVISION bump in devel/lua-bitop

On 11/13/17 11:49, Brian Callahan wrote:
Now looking for oks.

On 11/13/17 11:05, Brian Callahan wrote:

On 11/13/17 10:36, Kirill Bychkov wrote:
On Sun, November 12, 2017 22:27, Brian Callahan wrote:
On 11/12/17 14:08, Kirill Bychkov wrote:
On Sun, November 12, 2017 20:12, Edd Barrett wrote:
Hi,

On Sun, Nov 12, 2017 at 11:49:20AM -0500, Brian Callahan wrote:
devel/luabitop is a BDEP of editors/neovim. devel/lua-bitop is not used by anything (at least, as far as `make search key=lua-bitop` suggests).
devel/luabitop also appears to be the more comprehensive port.

OK to remove devel/lua-bitop?
Ugh. IIRC, I imported lua-bitop for neovim, probably missing luabitop becuase it wasn't prefixed 'lua-'. Somehow I then managed to depend on
the existing luabitop.

I've checked using sqlports that there are no other dependents, so your plan seems sensible to me. OK edd@, but perhaps wait a bit and see if
anyone else chimes in.

Thanks

Hi!
lua- prefix is a standard. IMHO you should remove luabitop and add lua-bitop
as a dependency to neovim.
Just my 2 cents.

Or should luabitop be moved to lua-bitop?

I think you need to merge all the tweaks from both ports in lua-bitop and
remove luabitop directory with all quirks and @pkgpath dance.


Right. That's what I was thinking.


Merging diff attached. Missing from this diff is the bump and depends switch in editors/neovim, but that comes after.

~Brian


===================================================================
RCS file: /cvs/ports/devel/lua-bitop/Makefile,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 Makefile
--- devel/lua-bitop/Makefile	7 Mar 2017 18:33:27 -0000	1.2
+++ devel/lua-bitop/Makefile	13 Nov 2017 17:21:07 -0000
@@ -1,32 +1,38 @@
 # $OpenBSD: Makefile,v 1.2 2017/03/07 18:33:27 espie Exp $
 
-COMMENT =	numeric bit operations for Lua
-
 V =		1.0.2
+COMMENT =	library for bitwise operations in Lua
 DISTNAME =	LuaBitOp-${V}
 PKGNAME =	lua-bitop-${V}
-
+REVISION =	0
 CATEGORIES =	devel
 
 HOMEPAGE =	http://bitop.luajit.org/
 
-# "Lua BitOp is a C extension module for Lua 5.1/5.2"
-FLAVORS =       lua52
-
 # MIT
 PERMIT_PACKAGE_CDROM =	Yes
 
-MASTER_SITES =		${HOMEPAGE}/download/
+MASTER_SITES =	http://bitop.luajit.org/download/
+
+# "Lua BitOp is a C extension module for Lua 5.1/5.2"
+FLAVORS =	lua52
+FLAVOR ?=
+
+MODULES =	lang/lua
 
-MODULES =		lang/lua
-USE_GMAKE =		Yes
+USE_GMAKE =	Yes
+MAKE_FLAGS +=	INCLUDES=-I${MODLUA_INCL_DIR} CCOPT= \
+		LUA=${MODLUA_BIN} CC="${CC}"
 
-MAKE_FLAGS +=		INCLUDES=-I${MODLUA_INCL_DIR} CCOPT= \
-			LUA=${MODLUA_BIN} CC="${CC}"
+TEST_DEPENDS =	${BASE_PKGPATH}
 
-INSTALL_DIR =		${MODLUA_LIBDIR}
 do-install:
-	${INSTALL_DATA_DIR} ${INSTALL_DIR}
-	cd ${WRKSRC} && ${INSTALL_DATA} bit.so ${INSTALL_DIR}
+	${INSTALL_DATA_DIR} ${MODLUA_LIBDIR} ${MODLUA_DOCDIR}
+	${INSTALL_DATA} ${WRKBUILD}/bit.so ${MODLUA_LIBDIR}
+	cd ${WRKSRC}/doc && \
+		find . -type d \
+			-exec ${INSTALL_DATA_DIR} ${MODLUA_DOCDIR}/{} \; && \
+		find . ! -type d \
+			-exec ${INSTALL_DATA} -m 644 {} ${MODLUA_DOCDIR}/{} \;
 
 .include <bsd.port.mk>
Index: devel/lua-bitop/pkg/PLIST
===================================================================
RCS file: /cvs/ports/devel/lua-bitop/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 PLIST
--- devel/lua-bitop/pkg/PLIST	4 Mar 2017 17:11:09 -0000	1.1.1.1
+++ devel/lua-bitop/pkg/PLIST	13 Nov 2017 17:21:07 -0000
@@ -1,2 +1,14 @@
 @comment $OpenBSD: PLIST,v 1.1.1.1 2017/03/04 17:11:09 edd Exp $
+@pkgpath devel/luabitop
 lib/lua/${MODLUA_VERSION}/bit.so
+share/doc/${FULLPKGNAME}/
+share/doc/${FULLPKGNAME}/api.html
+share/doc/${FULLPKGNAME}/bluequad-print.css
+share/doc/${FULLPKGNAME}/bluequad.css
+share/doc/${FULLPKGNAME}/changes.html
+share/doc/${FULLPKGNAME}/contact.html
+share/doc/${FULLPKGNAME}/img/
+share/doc/${FULLPKGNAME}/img/contact.png
+share/doc/${FULLPKGNAME}/index.html
+share/doc/${FULLPKGNAME}/install.html
+share/doc/${FULLPKGNAME}/semantics.html
Index: devel/quirks/Makefile
===================================================================
RCS file: /cvs/ports/devel/quirks/Makefile,v
retrieving revision 1.545
diff -u -p -u -p -r1.545 Makefile
--- devel/quirks/Makefile	13 Nov 2017 14:35:41 -0000	1.545
+++ devel/quirks/Makefile	13 Nov 2017 17:21:07 -0000
@@ -5,7 +5,7 @@ CATEGORIES =	devel databases
 DISTFILES =
 
 # API.rev
-PKGNAME =	quirks-2.390
+PKGNAME =	quirks-2.391
 PKG_ARCH =	*
 MAINTAINER =	Marc Espie <[email protected]>
 
Index: devel/quirks/files/Quirks.pm
===================================================================
RCS file: /cvs/ports/devel/quirks/files/Quirks.pm,v
retrieving revision 1.558
diff -u -p -u -p -r1.558 Quirks.pm
--- devel/quirks/files/Quirks.pm	13 Nov 2017 14:35:41 -0000	1.558
+++ devel/quirks/files/Quirks.pm	13 Nov 2017 17:21:07 -0000
@@ -496,6 +496,7 @@ my $stem_extensions = {
 	'kdirstat' => 'qdirstat',
 	'stem' => 'py-stem',
 	'arm' => 'nyx',
+	'luabitop' => 'lua-bitop',
 };
 
 my $obsolete_reason = {

Reply via email to