[Pkg-ocaml-maint-commits] r1483 - in trunk/packages/pycaml: . trunk
trunk/debian
Samuel Mimram
smimram-guest at costa.debian.org
Thu Jul 28 15:46:40 UTC 2005
Author: smimram-guest
Date: 2005-07-28 15:46:38 +0000 (Thu, 28 Jul 2005)
New Revision: 1483
Added:
trunk/packages/pycaml/trunk/
trunk/packages/pycaml/trunk/debian/
trunk/packages/pycaml/trunk/debian/Makefile
trunk/packages/pycaml/trunk/debian/README.Debian
trunk/packages/pycaml/trunk/debian/TODO.Debian
trunk/packages/pycaml/trunk/debian/changelog
trunk/packages/pycaml/trunk/debian/compat
trunk/packages/pycaml/trunk/debian/control
trunk/packages/pycaml/trunk/debian/copyright
trunk/packages/pycaml/trunk/debian/dirs
trunk/packages/pycaml/trunk/debian/docs
trunk/packages/pycaml/trunk/debian/examples
trunk/packages/pycaml/trunk/debian/override
trunk/packages/pycaml/trunk/debian/pycaml.doc-base
trunk/packages/pycaml/trunk/debian/rules
trunk/packages/pycaml/trunk/debian/svn-deblayout
trunk/packages/pycaml/trunk/debian/watch
trunk/packages/pycaml/upstream/
Removed:
trunk/packages/pycaml/README
Log:
Adopting package.
Deleted: trunk/packages/pycaml/README
===================================================================
--- trunk/packages/pycaml/README 2005-07-27 22:09:12 UTC (rev 1482)
+++ trunk/packages/pycaml/README 2005-07-28 15:46:38 UTC (rev 1483)
@@ -1,27 +0,0 @@
-John Goerzen maintains his OCaml packages in a tla repository using the
-tla-buildpackage system. If you would like to work on them, please
-reference the archive with:
-
-tla register-archive jgoerzen at complete.org--debian \
- http://arch.debian.org/arch/private/jgoerzen/debian
-tla get jgoerzen at complete.org--debian/configs--head--1.0 debian
-cd debian
-tla buildcfg debian/pycaml/latest
- (ls configs/debian for a list of valid pycamls)
-
-** shortcut for experienced tla users **:
- tla get jgoerzen at complete.org--debian/pycaml--debian--1.0 pycaml
-
-Should you wish to help with the maintenance of these packages, that is,
-of course, encouraged. The usual mechanism for doing this with tla is
-not by granting write access to a repository, but rather by simply
-branching off the original repository. So, you'll want to just create
-your own branch off jgoerzen at complete.org--debian, hack it up, commit
-changes, etc; then e-mail jgoerzen at complete.org with your archive info
-or attach the changeset itself. tla can both branch and merge across
-repository lines, and so the full change history for your modifications
-will be preserved. Please consult the tla docs for more details.
-
-The Debian arch repository at http://arch.debian.org/ has a ViewARCH
-interface which you may find useful.
-
Property changes on: trunk/packages/pycaml/trunk/debian
___________________________________________________________________
Name: mergeWithUpstream
+ 1
Added: trunk/packages/pycaml/trunk/debian/Makefile
===================================================================
--- trunk/packages/pycaml/trunk/debian/Makefile 2005-07-27 22:09:12 UTC (rev 1482)
+++ trunk/packages/pycaml/trunk/debian/Makefile 2005-07-28 15:46:38 UTC (rev 1483)
@@ -0,0 +1,23 @@
+OCAMLMAKEFILE = /usr/share/ocaml-tools/OCamlMakefile
+PY_PREFIX = $(shell python getprefix.py)
+PY_VERSION = $(shell python getversion.py)
+CLIBS = python2.3 pthread dl util m c
+
+SOURCES = pycaml.ml pycaml_ml.c
+RESULT = pycaml
+THREADS = yes
+NO_CUSTOM = NO_CUSTOM
+CFLAGS = -fPIC
+
+LIBDIRS = $(PY_PREFIX)/lib/python$(PY_VERSION)/config
+INCDIRS = $(PY_PREFIX)/include/python$(PY_VERSION)
+OCAMLLDFLAGS = -linkall
+
+allopt: native-code-library byte-code-library pycaml.customtop
+
+all: byte-code-library pycaml.customtop
+
+pycaml.customtop: pycaml.cma
+ ocamlmktop -o pycaml.customtop pycaml.cma
+
+-include $(OCAMLMAKEFILE)
Added: trunk/packages/pycaml/trunk/debian/README.Debian
===================================================================
--- trunk/packages/pycaml/trunk/debian/README.Debian 2005-07-27 22:09:12 UTC (rev 1482)
+++ trunk/packages/pycaml/trunk/debian/README.Debian 2005-07-28 15:46:38 UTC (rev 1483)
@@ -0,0 +1,22 @@
+Pycaml for Debian
+-----------------
+
+You can find some example Pycaml programs in /usr/share/doc/pycaml/examples.
+
+Here's how you build programs:
+
+BYTECODE COMPILATION
+--------------------
+
+ocamlc pycaml.cma yourfile.ml -o output
+
+Note that "custom" mode is implied.
+
+NATIVE COMPILATION
+------------------
+
+ocamlopt pycaml.cmxa yourfile.ml -o output
+
+
+-- John Goerzen <jgoerzen at complete.org>
+ February 24, 2004
Added: trunk/packages/pycaml/trunk/debian/TODO.Debian
===================================================================
--- trunk/packages/pycaml/trunk/debian/TODO.Debian 2005-07-27 22:09:12 UTC (rev 1482)
+++ trunk/packages/pycaml/trunk/debian/TODO.Debian 2005-07-28 15:46:38 UTC (rev 1483)
@@ -0,0 +1 @@
+* Split the package and make a -dev.
Added: trunk/packages/pycaml/trunk/debian/changelog
===================================================================
--- trunk/packages/pycaml/trunk/debian/changelog 2005-07-27 22:09:12 UTC (rev 1482)
+++ trunk/packages/pycaml/trunk/debian/changelog 2005-07-28 15:46:38 UTC (rev 1483)
@@ -0,0 +1,67 @@
+pycaml (0.82-1) unstable; urgency=low
+
+ * New maintainer, closes: #305455.
+ * New upstream release.
+ * Updated to OCaml 3.08.3.
+ * Updated Standards-Version to 3.6.2.
+
+ -- Samuel Mimram <smimram at debian.org> Thu, 28 Jul 2005 16:35:54 +0200
+
+pycaml (0.81-9) unstable; urgency=low
+
+ * Orphaning this package.
+
+ -- John Goerzen <jgoerzen at complete.org> Tue, 19 Apr 2005 22:56:31 -0500
+
+pycaml (0.81-8) unstable; urgency=low
+
+ * Rebuilt for OCaml 3.08.
+
+ -- John Goerzen <jgoerzen at complete.org> Tue, 27 Jul 2004 09:28:50 -0500
+
+pycaml (0.81-7) unstable; urgency=low
+
+ * debian/rules: clean now removes config.cache.
+
+ -- John Goerzen <jgoerzen at complete.org> Thu, 22 Apr 2004 09:27:25 -0500
+
+pycaml (0.81-6) unstable; urgency=low
+
+ * Oops, the CFLAGS change for -fPIC didn't really make it in to -5.
+ Fixed. Closes: #237688.
+
+ -- John Goerzen <jgoerzen at complete.org> Thu, 22 Apr 2004 09:23:04 -0500
+
+pycaml (0.81-5) unstable; urgency=low
+
+ * Worked around some OCamlMakefile brokkenness relating to OCamlMaketop.
+ Reassigned 242138 to ocaml-tools since it's a bug there.
+ * Added -fPIC to CFLAGS. Closes: #237688.
+
+ -- John Goerzen <jgoerzen at complete.org> Wed, 21 Apr 2004 13:55:58 -0500
+
+pycaml (0.81-4) unstable; urgency=low
+
+ * Don't build native-code library on platforms that lack ocamlopt.
+ Closes: #237666.
+
+ -- John Goerzen <jgoerzen at complete.org> Fri, 12 Mar 2004 11:34:24 -0600
+
+pycaml (0.81-3) unstable; urgency=low
+
+ * Fixed build-dep on python-dev. Closes: #236940.
+
+ -- John Goerzen <jgoerzen at complete.org> Fri, 12 Mar 2004 09:21:28 -0600
+
+pycaml (0.81-2) unstable; urgency=low
+
+ * Added missing "Files:" section to doc-base.
+
+ -- John Goerzen <jgoerzen at complete.org> Tue, 24 Feb 2004 14:43:48 -0600
+
+pycaml (0.81-1) unstable; urgency=low
+
+ * Initial Release. Closes: #234572.
+
+ -- John Goerzen <jgoerzen at complete.org> Tue, 24 Feb 2004 10:27:29 -0600
+
Added: trunk/packages/pycaml/trunk/debian/compat
===================================================================
--- trunk/packages/pycaml/trunk/debian/compat 2005-07-27 22:09:12 UTC (rev 1482)
+++ trunk/packages/pycaml/trunk/debian/compat 2005-07-28 15:46:38 UTC (rev 1483)
@@ -0,0 +1 @@
+4
Added: trunk/packages/pycaml/trunk/debian/control
===================================================================
--- trunk/packages/pycaml/trunk/debian/control 2005-07-27 22:09:12 UTC (rev 1482)
+++ trunk/packages/pycaml/trunk/debian/control 2005-07-28 15:46:38 UTC (rev 1483)
@@ -0,0 +1,16 @@
+Source: pycaml
+Section: libdevel
+Priority: optional
+Maintainer: Debian OCaml Maintainers <debian-ocaml-maint at lists.debian.org>
+Uploaders: Samuel Mimram <smimram at debian.org>
+Build-Depends: debhelper (>= 4.0.0), ocaml-nox-3.08.3, python-dev (>= 2.3), ocaml-tools
+Standards-Version: 3.6.2
+
+Package: pycaml
+Architecture: any
+Depends: ocaml-base-nox-3.08.3, ${shlibs:Depends}
+Recommends: ocaml-nox-3.08.3
+Description: OCaml bindings to embed Python interpreter and objects
+ Pycaml is intended to allow users to build native OCaml libraries and
+ use them from Python, and alternatively, in order to allow OCaml users
+ to benefit from linkable libraries provided for Python.
Added: trunk/packages/pycaml/trunk/debian/copyright
===================================================================
--- trunk/packages/pycaml/trunk/debian/copyright 2005-07-27 22:09:12 UTC (rev 1482)
+++ trunk/packages/pycaml/trunk/debian/copyright 2005-07-28 15:46:38 UTC (rev 1483)
@@ -0,0 +1,25 @@
+This package was debianized by John Goerzen <jgoerzen at complete.org> on
+Tue, 24 Feb 2004 10:27:29 -0600.
+
+It was downloaded from http://pycaml.sourceforge.net/
+
+Upstream Author: Art Yerkes <arty at users.sourceforge.net>
+
+Copyright (C) Art Yerkes 2002-2005
+
+ This package is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later version.
+
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this package; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+On Debian systems, the complete text of the GNU Lesser General
+Public License can be found in `/usr/share/common-licenses/LGPL'.
Added: trunk/packages/pycaml/trunk/debian/dirs
===================================================================
--- trunk/packages/pycaml/trunk/debian/dirs 2005-07-27 22:09:12 UTC (rev 1482)
+++ trunk/packages/pycaml/trunk/debian/dirs 2005-07-28 15:46:38 UTC (rev 1483)
@@ -0,0 +1,2 @@
+usr/bin
+usr/share/lintian/overrides
Added: trunk/packages/pycaml/trunk/debian/docs
===================================================================
--- trunk/packages/pycaml/trunk/debian/docs 2005-07-27 22:09:12 UTC (rev 1482)
+++ trunk/packages/pycaml/trunk/debian/docs 2005-07-28 15:46:38 UTC (rev 1483)
@@ -0,0 +1 @@
+pycaml.html
Added: trunk/packages/pycaml/trunk/debian/examples
===================================================================
--- trunk/packages/pycaml/trunk/debian/examples 2005-07-27 22:09:12 UTC (rev 1482)
+++ trunk/packages/pycaml/trunk/debian/examples 2005-07-28 15:46:38 UTC (rev 1483)
@@ -0,0 +1 @@
+ocamlobj.ml pycamltest.ml
Added: trunk/packages/pycaml/trunk/debian/override
===================================================================
--- trunk/packages/pycaml/trunk/debian/override 2005-07-27 22:09:12 UTC (rev 1482)
+++ trunk/packages/pycaml/trunk/debian/override 2005-07-28 15:46:38 UTC (rev 1483)
@@ -0,0 +1 @@
+binary-or-shlib-defines-rpath ./usr/lib/ocaml/3.08.3/dllpycaml_stubs.so /usr/lib/python2.3/config
Added: trunk/packages/pycaml/trunk/debian/pycaml.doc-base
===================================================================
--- trunk/packages/pycaml/trunk/debian/pycaml.doc-base 2005-07-27 22:09:12 UTC (rev 1482)
+++ trunk/packages/pycaml/trunk/debian/pycaml.doc-base 2005-07-28 15:46:38 UTC (rev 1483)
@@ -0,0 +1,9 @@
+Document: pycaml
+Title: Pycaml Manual
+Author: Art Yerkes <arty at users.sourceforge.net>
+Abstract: This manual describes the usage of Pycaml, an OCaml to Python interface.
+Section: programming
+
+Format: HTML
+Index: /usr/share/doc/pycaml/pycaml.html
+Files: /usr/share/doc/pycaml/pycaml.html
Added: trunk/packages/pycaml/trunk/debian/rules
===================================================================
--- trunk/packages/pycaml/trunk/debian/rules 2005-07-27 22:09:12 UTC (rev 1482)
+++ trunk/packages/pycaml/trunk/debian/rules 2005-07-28 15:46:38 UTC (rev 1483)
@@ -0,0 +1,103 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+DESTDIR = $(CURDIR)/debian/pycaml/$(shell ocamlc -where)
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+ INSTALL_PROGRAM += -s
+endif
+
+config.status: configure
+ dh_testdir
+
+ #CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
+
+build: build-stamp
+build-stamp: config.status
+ dh_testdir
+
+ if [ -x /usr/bin/ocamlopt ]; then $(MAKE) allopt; else $(MAKE) all; fi
+ #$(MAKE) opt
+
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+
+ # Add here commands to clean up after the build process.
+ -$(MAKE) clean
+#ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+# cp -f /usr/share/misc/config.sub config.sub
+#endif
+#ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+# cp -f /usr/share/misc/config.guess config.guess
+#endif
+
+ dh_clean
+ -rm -f *.cm* *.mli *.a *.o config.log *.opt *.so pycaml.customtop Makefile config.status
+ -rm -rf ./._d
+ -rm -f config.cache
+ cp debian/Makefile .
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ mkdir -p $(DESTDIR)
+ #cp pycaml.{a,cma,cmi,cmx,cmxa} pycaml_ml.o pycaml_ml.opt.o \
+ # debian/pycaml/usr/lib/ocaml/3.07
+ #cp pycamltop debian/pycaml/usr/bin
+ make rawinstall OCAML_LIB_INSTALL=$(DESTDIR)
+ cp pycaml.customtop debian/pycaml/usr/bin/pycamltop
+ install -m 644 debian/override debian/pycaml/usr/share/lintian/overrides/pycaml
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs
+ dh_installdocs
+ dh_installexamples
+ dh_install
+ dh_installman
+ dh_link
+ # MUST NOT strip the -custom executables!
+ dh_strip -Xpycamltop
+ #strip debian/pycaml/usr/bin/*.opt
+ dh_compress
+ dh_fixperms
+ dh_python
+ dh_makeshlibs
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
Property changes on: trunk/packages/pycaml/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/packages/pycaml/trunk/debian/svn-deblayout
===================================================================
--- trunk/packages/pycaml/trunk/debian/svn-deblayout 2005-07-27 22:09:12 UTC (rev 1482)
+++ trunk/packages/pycaml/trunk/debian/svn-deblayout 2005-07-28 15:46:38 UTC (rev 1483)
@@ -0,0 +1,3 @@
+origDir=../upstream
+origUrl=svn+ssh://svn.debian.org/svn/pkg-ocaml-maint/trunk/packages/pycaml/upstream
+tagsUrl=svn+ssh://svn.debian.org/svn/pkg-ocaml-maint/tags/packages/pycaml
Added: trunk/packages/pycaml/trunk/debian/watch
===================================================================
--- trunk/packages/pycaml/trunk/debian/watch 2005-07-27 22:09:12 UTC (rev 1482)
+++ trunk/packages/pycaml/trunk/debian/watch 2005-07-28 15:46:38 UTC (rev 1483)
@@ -0,0 +1,3 @@
+version=2
+
+http://heanet.dl.sourceforge.net/sourceforge/pycaml/pycaml-([0-9\.]*)\.tar\.gz debian uupdate
More information about the Pkg-ocaml-maint-commits
mailing list