Bug 165865 - New port: devel/pure-stllib: Deprecate pure-stldict & pure-stlvec with pure-stllib
Summary: New port: devel/pure-stllib: Deprecate pure-stldict & pure-stlvec with pure-s...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Rusmir Dusko
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-08 23:00 UTC by lichray
Modified: 2013-11-07 13:50 UTC (History)
0 users

See Also:


Attachments
pure-stllib.shar (5.08 KB, text/plain)
2012-03-08 23:00 UTC, lichray
no flags Details
pure-stllib-0.2.shar (5.07 KB, application/x-shar)
2012-04-29 09:43 UTC, lichray
no flags Details
pure-stllib.shar (5.60 KB, application/x-shar)
2013-06-07 14:43 UTC, nemysis
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description lichray 2012-03-08 23:00:28 UTC
	
	The pure-stllib combined the pure/C++ STL addons.
	http://docs.pure-lang.googlecode.com/hg/pure-stllib.html

	So the pure-stldict and pure-stlvec can be deprecated.
Comment 1 lichray 2012-04-29 09:43:13 UTC
Correction: this port only deprecates pure-stlvec; pure-stldict is
another binding.

New version, 0.2.

-- 
Zhihao Yuan, nickname lichray
The best way to predict the future is to invent it.
___________________________________________________
4BSD -- http://4bsd.biz/
Comment 2 Dennis Herrmann freebsd_committer freebsd_triage 2012-04-29 11:12:32 UTC
Responsible Changed
From-To: freebsd-ports-bugs->dhn

I'll take it.
Comment 3 nemysis 2013-06-07 14:43:16 UTC
- Update to 0.4
- Shorten header
- Trim master sites
- Add license
- New Uses pure
- Add docs
- Trim pkg-descr


Build log

https://redports.org/buildarchive/20130607020800-16997/
Comment 4 lichray 2013-07-01 05:35:31 UTC
Please commit the updated patch, thanks.

--
Zhihao Yuan, ID lichray
The best way to predict the future is to invent it.
___________________________________________________
4BSD -- http://4bsd.biz/
Comment 5 Thomas Abthorpe freebsd_committer freebsd_triage 2013-10-15 23:23:35 UTC
Responsible Changed
From-To: dhn->freebsd-ports-bugs

Back to the heap
Comment 6 Rusmir Dusko freebsd_committer freebsd_triage 2013-10-16 16:58:17 UTC
Responsible Changed
From-To: freebsd-ports-bugs->nemysis

I'll take it.
Comment 7 dfilter service freebsd_committer freebsd_triage 2013-11-07 13:44:11 UTC
Author: nemysis
Date: Thu Nov  7 13:44:01 2013
New Revision: 333095
URL: http://svnweb.freebsd.org/changeset/ports/333095

Log:
  pure-stllib is an "umbrella" package that contains a pair of Pure addons,
  pure-stlvec and pure-stlmap. These addons provide Pure interfaces to a
  selection of containers provided by the C++ Standard Library, specialized
  to hold pointers to arbitrary Pure expressions.
  
  WWW: http://docs.pure-lang.googlecode.com/hg/pure-stllib.html
  
  PR:		ports/165865
  Submitted by:	Zhihao Yuan <lichray@gmail.com>
  Approved by:	wg (mentor)

Added:
  head/devel/pure-stllib/
  head/devel/pure-stllib/Makefile   (contents, props changed)
  head/devel/pure-stllib/distinfo   (contents, props changed)
  head/devel/pure-stllib/files/
  head/devel/pure-stllib/files/patch-Makefile   (contents, props changed)
  head/devel/pure-stllib/pkg-descr   (contents, props changed)
  head/devel/pure-stllib/pkg-plist   (contents, props changed)
Deleted:
  head/devel/pure-stldict/
  head/devel/pure-stlvec/
Modified:
  head/MOVED
  head/devel/Makefile

Modified: head/MOVED
==============================================================================
--- head/MOVED	Thu Nov  7 13:41:52 2013	(r333094)
+++ head/MOVED	Thu Nov  7 13:44:01 2013	(r333095)
@@ -5172,3 +5172,5 @@ net-p2p/libtorrent-rasterbar-python-16|n
 devel/ORBit||2013-11-07|Has expired: EOLed upstream for very long
 x11/gnome-libs||2013-11-07|Has expired: EOLed upstream for very long
 textproc/stardict2||2013-11-07|Has expired: Newer version available in ports: textproc/stardict3
+devel/pure-stldict|devel/pure-stllib|2013-11-07|Removed: Use devel/pure-stllib instead
+devel/pure-stlvec|devel/pure-stllib|2013-11-07|Removed: Use devel/pure-stllib instead

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Thu Nov  7 13:41:52 2013	(r333094)
+++ head/devel/Makefile	Thu Nov  7 13:44:01 2013	(r333095)
@@ -3389,8 +3389,7 @@
     SUBDIR += pure-ffi
     SUBDIR += pure-gen
     SUBDIR += pure-readline
-    SUBDIR += pure-stldict
-    SUBDIR += pure-stlvec
+    SUBDIR += pure-stllib
     SUBDIR += pushmi
     SUBDIR += pwlib
     SUBDIR += py-Acquisition

Added: head/devel/pure-stllib/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/pure-stllib/Makefile	Thu Nov  7 13:44:01 2013	(r333095)
@@ -0,0 +1,48 @@
+# Created by: Zhihao Yuan <lichray@gmail.com>
+# $FreeBSD$
+
+PORTNAME=	pure-stllib
+PORTVERSION=	0.5
+CATEGORIES=	devel
+MASTER_SITES=	https://cdn.bitbucket.org/purelang/pure-lang/downloads/
+DIST_SUBDIR=	pure
+
+MAINTAINER=	lichray@gmail.com
+COMMENT=	Pure interface to C++ STL map and vectors
+
+LICENSE=	BSD
+
+USES=		pure pkgconfig
+
+USE_GCC=	yes
+
+PORTDOCS=	*
+
+DOCSRCDIR1=	${WRKSRC}
+DOC_FILES1=	README
+
+DOCSRCDIR2=	${WRKSRC}/doc
+DOCSDIR2=	${DOCSDIR}/doc
+DOC_FILES2=	*.pdf
+
+PORTEXAMPLES=	*
+
+.include <bsd.port.options.mk>
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|CFLAGS =|CFLAGS ?=|' \
+		${WRKSRC}/Makefile ${WRKSRC}/pure-stlmap/Makefile ${WRKSRC}/pure-stlvec/Makefile
+	@${MKDIR} ${WRKSRC}/examples/
+	@${MV} ${WRKSRC}/pure-stlmap/examples/* \
+		${WRKSRC}/pure-stlvec/examples/* ${WRKSRC}/examples/
+
+post-install:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR2}
+	${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${STAGEDIR}${DOCSDIR2}
+
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	@(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
+
+.include <bsd.port.mk>

Added: head/devel/pure-stllib/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/pure-stllib/distinfo	Thu Nov  7 13:44:01 2013	(r333095)
@@ -0,0 +1,2 @@
+SHA256 (pure/pure-stllib-0.5.tar.gz) = 555d68f0d38905a4804116e5a6f37e14bec5bad3264c7b2beab3ab68b07beaef
+SIZE (pure/pure-stllib-0.5.tar.gz) = 335191

Added: head/devel/pure-stllib/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/pure-stllib/files/patch-Makefile	Thu Nov  7 13:44:01 2013	(r333095)
@@ -0,0 +1,19 @@
+--- ./Makefile.orig	2013-08-28 18:17:41.000000000 +0200
++++ ./Makefile	2013-10-16 22:49:25.000000000 +0200
+@@ -17,12 +17,12 @@
+ MOD_CXXFLAGS = $(PIC) $(shell pkg-config pure --cflags) $(CFLAGS) $(CPPFLAGS)
+ MOD_LDFLAGS = $(shell pkg-config pure --libs) $(LDFLAGS)
+ 
+-CFLAGS = -g -O2 -Wall -Wextra
++CFLAGS ?= -g -O2 -Wall -Wextra
+ 
+-ifeq "$(DLL)" ".dylib"
++#ifeq "$(DLL)" ".dylib"
+ # OSX may need this (untested)
+-DLL_FLAGS = -install_name "$(libdir)/pure/$@"
+-endif
++#DLL_FLAGS = -install_name "$(libdir)/pure/$@"
++#endif
+ 
+ # Basic rules to build the module, clean, check, install and uninstall.
+ 

Added: head/devel/pure-stllib/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/pure-stllib/pkg-descr	Thu Nov  7 13:44:01 2013	(r333095)
@@ -0,0 +1,6 @@
+pure-stllib is an "umbrella" package that contains a pair of Pure addons,
+pure-stlvec and pure-stlmap. These addons provide Pure interfaces to a
+selection of containers provided by the C++ Standard Library, specialized
+to hold pointers to arbitrary Pure expressions.
+
+WWW: http://docs.pure-lang.googlecode.com/hg/pure-stllib.html

Added: head/devel/pure-stllib/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/pure-stllib/pkg-plist	Thu Nov  7 13:44:01 2013	(r333095)
@@ -0,0 +1,20 @@
+lib/pure/stlalgorithm.so
+lib/pure/stlbase.pure
+lib/pure/stlbase.so
+lib/pure/stlhmap.pure
+lib/pure/stlhmap.so
+lib/pure/stlmap.pure
+lib/pure/stlmap.so
+lib/pure/stlmmap.pure
+lib/pure/stlmmap.so
+lib/pure/stlvec.pure
+lib/pure/stlvec.so
+lib/pure/stlvec/algorithms.pure
+lib/pure/stlvec/heap.pure
+lib/pure/stlvec/merge.pure
+lib/pure/stlvec/minmax.pure
+lib/pure/stlvec/modifying.pure
+lib/pure/stlvec/nonmodifying.pure
+lib/pure/stlvec/numeric.pure
+lib/pure/stlvec/sort.pure
+@dirrm lib/pure/stlvec
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 8 Rusmir Dusko freebsd_committer freebsd_triage 2013-11-07 13:48:15 UTC
State Changed
From-To: open->closed

Commited in Revision 333095