Date: Wed, 23 Sep 2020 18:27:45 +0000 (UTC) From: Steve Wills <swills@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r549776 - in head/devel: . pystring pystring/files Message-ID: <202009231827.08NIRjou005868@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: swills Date: Wed Sep 23 18:27:45 2020 New Revision: 549776 URL: https://svnweb.freebsd.org/changeset/ports/549776 Log: devel/pystring: create port Pystring is a collection of C++ functions which match the interface and behavior of python's string class methods using std::string. Implemented in C++, it does not require or make use of a python interpreter. It provides convenience and familiarity for common string operations not included in the standard C++ library. It's also useful in environments where both C++ and python are used. WWW: https://github.com/imageworks/pystring Added: head/devel/pystring/ head/devel/pystring/Makefile (contents, props changed) head/devel/pystring/distinfo (contents, props changed) head/devel/pystring/files/ head/devel/pystring/files/patch-Makefile (contents, props changed) head/devel/pystring/pkg-descr (contents, props changed) head/devel/pystring/pkg-plist (contents, props changed) Modified: head/devel/Makefile (contents, props changed) Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Wed Sep 23 18:27:42 2020 (r549775) +++ head/devel/Makefile Wed Sep 23 18:27:45 2020 (r549776) @@ -5256,6 +5256,7 @@ SUBDIR += pyrex SUBDIR += pyside2 SUBDIR += pyside2-tools + SUBDIR += pystring SUBDIR += pysvn SUBDIR += pythk SUBDIR += pythontidy Added: head/devel/pystring/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/pystring/Makefile Wed Sep 23 18:27:45 2020 (r549776) @@ -0,0 +1,24 @@ +# $FreeBSD$ + +PORTNAME= pystring +PORTVERSION= 1.1.3 +DISTVERSIONPREFIX= v +CATEGORIES= devel + +MAINTAINER= swills@FreeBSD.org +COMMENT= Collection of C++ functions which match python's string class + +USES= libtool:build +USE_GITHUB= yes +GH_ACCOUNT= imageworks +MAKE_ARGS= CXX="${CXX}" \ + CXXFLAGS="${CXXFLAGS}" \ + LIBDIR="${STAGEDIR}${PREFIX}/lib" +USE_LDCONFIG= yes + +post-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/include/pystring + ${INSTALL_DATA} ${WRKSRC}/pystring.h ${STAGEDIR}${PREFIX}/include/pystring + ${INSTALL_DATA} ${WRKSRC}/unittest.h ${STAGEDIR}${PREFIX}/include/pystring + +.include <bsd.port.mk> Added: head/devel/pystring/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/pystring/distinfo Wed Sep 23 18:27:45 2020 (r549776) @@ -0,0 +1,3 @@ +TIMESTAMP = 1600269966 +SHA256 (imageworks-pystring-v1.1.3_GH0.tar.gz) = 358a56e756e701836b69a31c75d3d9d41c34d447cf7b3775bbd5620dcd3203d9 +SIZE (imageworks-pystring-v1.1.3_GH0.tar.gz) = 18364 Added: head/devel/pystring/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/pystring/files/patch-Makefile Wed Sep 23 18:27:45 2020 (r549776) @@ -0,0 +1,15 @@ +--- Makefile.orig 2012-10-16 21:31:17 UTC ++++ Makefile +@@ -9,10 +9,10 @@ pystring.lo: pystring.h pystring.cpp + $(LIBTOOL) --mode=compile --tag=CXX $(CXX) $(CXXFLAGS) -c pystring.cpp + + libpystring.la: pystring.lo +- $(LIBTOOL) --mode=link --tag=CXX $(CXX) -o $@ $< -rpath $(LIBDIR) ++ $(LIBTOOL) --mode=link --tag=CXX $(CXX) -o libpystring.la pystring.lo -rpath $(LIBDIR) + + install: libpystring.la +- $(LIBTOOL) --mode=install install -c $< $(LIBDIR)/$< ++ $(LIBTOOL) --mode=install install -c libpystring.la $(LIBDIR)/libpystring.la + + clean: + $(RM) -fr pystring.lo pystring.o libpystring.la .libs Added: head/devel/pystring/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/pystring/pkg-descr Wed Sep 23 18:27:45 2020 (r549776) @@ -0,0 +1,8 @@ +Pystring is a collection of C++ functions which match the interface and +behavior of python's string class methods using std::string. Implemented in +C++, it does not require or make use of a python interpreter. It provides +convenience and familiarity for common string operations not included in the +standard C++ library. It's also useful in environments where both C++ and +python are used. + +WWW: https://github.com/imageworks/pystring Added: head/devel/pystring/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/pystring/pkg-plist Wed Sep 23 18:27:45 2020 (r549776) @@ -0,0 +1,6 @@ +include/pystring/pystring.h +include/pystring/unittest.h +lib/libpystring.a +lib/libpystring.so +lib/libpystring.so.0 +lib/libpystring.so.0.0.0
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009231827.08NIRjou005868>