Revision: 25865 http://sourceforge.net/p/gar/code/25865 Author: dmichelsen Date: 2016-08-03 11:39:28 +0000 (Wed, 03 Aug 2016) Log Message: ----------- lang-python/protobuf-python: Initial commit
Added Paths: ----------- csw/mgar/pkg/lang-python/protobuf-python/ csw/mgar/pkg/lang-python/protobuf-python/trunk/Makefile csw/mgar/pkg/lang-python/protobuf-python/trunk/checksums Removed Paths: ------------- csw/mgar/pkg/lang-python/protobuf-python/trunk/Makefile csw/mgar/pkg/lang-python/protobuf-python/trunk/checksums Deleted: csw/mgar/pkg/lang-python/protobuf-python/trunk/Makefile =================================================================== --- csw/mgar/pkg/protobuf/trunk/Makefile 2016-07-06 11:21:51 UTC (rev 25802) +++ csw/mgar/pkg/lang-python/protobuf-python/trunk/Makefile 2016-08-03 11:39:28 UTC (rev 25865) @@ -1,81 +0,0 @@ -# Copyright 2009 OpenCSW -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -# http://code.google.com/p/protobuf/issues/detail?id=166 -# -# About using stlport4 -# http://developers.sun.com/solaris/articles/cmp_stlport_libCstd.html - -NAME = protobuf -VERSION = 2.6.1 -GARTYPE = v2 -define BLURB - Protocol Buffers are a way of encoding structured data in an efficient yet - extensible format. Google uses Protocol Buffers for almost all of its - internal RPC protocols and file formats. -endef -DESCRIPTION = Google Protocol buffers -MASTER_SITES = https://github.com/google/protobuf/releases/download/v$(VERSION)/ -DISTFILES += $(DISTNAME).tar.bz2 - -VENDOR_URL = https://github.com/google/protobuf/ -LICENSE = LICENSE - -GARCOMPILER = GNU -BUILD64 = 1 -CONFIGURE_ARGS += $(DIRPATHS) - -PYCOMPILE = 1 - -PACKAGES += CSWlibprotobuf-lite9 -SPKG_DESC_CSWlibprotobuf-lite9 = $(DESCRIPTION), libprotobuf-lite.so.9 -PKGFILES_CSWlibprotobuf-lite9 += $(call pkgfiles_lib,libprotobuf-lite.so.9) -RUNTIME_DEP_PKGS_CSWlibprotobuf-lite9 += CSWlibgcc-s1 -RUNTIME_DEP_PKGS_CSWlibprotobuf-lite9 += CSWlibstdc++6 - -PACKAGES += CSWlibprotobuf9 -SPKG_DESC_CSWlibprotobuf9 = $(DESCRIPTION), libprotobuf.so.9 -PKGFILES_CSWlibprotobuf9 += $(call pkgfiles_lib,libprotobuf.so.9) -RUNTIME_DEP_PKGS_CSWlibprotobuf9 += CSWlibgcc-s1 -RUNTIME_DEP_PKGS_CSWlibprotobuf9 += CSWlibstdc++6 -RUNTIME_DEP_PKGS_CSWlibprotobuf9 += CSWlibz1 - -PACKAGES += CSWlibprotoc9 -SPKG_DESC_CSWlibprotoc9 = $(DESCRIPTION), libprotoc.so.9 -PKGFILES_CSWlibprotoc9 += $(call pkgfiles_lib,libprotoc.so.9) -RUNTIME_DEP_PKGS_CSWlibprotoc9 += CSWlibprotobuf9 -RUNTIME_DEP_PKGS_CSWlibprotoc9 += CSWlibgcc-s1 -RUNTIME_DEP_PKGS_CSWlibprotoc9 += CSWlibstdc++6 - -PACKAGES += CSWprotobuf-dev -SPKG_DESC_CSWprotobuf-dev = $(DESCRIPTION), header files -# PKGFILES is catchall -RUNTIME_DEP_PKGS_CSWprotobuf-dev += CSWpy-protobuf -RUNTIME_DEP_PKGS_CSWprotobuf-dev += CSWlibgcc-s1 -RUNTIME_DEP_PKGS_CSWprotobuf-dev += CSWlibstdc++6 -RUNTIME_DEP_PKGS_CSWprotobuf-dev += CSWlibprotobuf-lite9 -RUNTIME_DEP_PKGS_CSWprotobuf-dev += CSWlibprotobuf9 -RUNTIME_DEP_PKGS_CSWprotobuf-dev += CSWlibprotoc9 - -# Python support -PACKAGES += CSWpy-protobuf -SPKG_DESC_CSWpy-protobuf= $(DESCRIPTION), Python support -RUNTIME_DEP_PKGS_CSWpy-protobuf += CSWpython -PKGFILES_CSWpy-protobuf += $(libdir)/python.* -ARCHALL_CSWpy-protobuf = 1 -CHECKPKG_OVERRIDES_CSWpy-protobuf += surplus-dependency|CSWprotobuf - -# This is intended, no more Python 2.6 -CHECKPKG_OVERRIDES_CSWpy-protobuf += python-package-missing-py26-files -CHECKPKG_OVERRIDES_CSWpy-protobuf += surplus-dependency|CSWpython - -include gar/category.mk - -post-build: - (cd $(WORKSRC)/python; python setup.py build) - @$(MAKECOOKIE) - -post-install: - (cd $(WORKSRC)/python; python setup.py install --root=$(DESTDIR) --prefix=$(prefix)) - @$(MAKECOOKIE) Copied: csw/mgar/pkg/lang-python/protobuf-python/trunk/Makefile (from rev 25864, csw/mgar/pkg/protobuf/trunk/Makefile) =================================================================== --- csw/mgar/pkg/lang-python/protobuf-python/trunk/Makefile (rev 0) +++ csw/mgar/pkg/lang-python/protobuf-python/trunk/Makefile 2016-08-03 11:39:28 UTC (rev 25865) @@ -0,0 +1,110 @@ +# Copyright 2009 OpenCSW +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# http://code.google.com/p/protobuf/issues/detail?id=166 +# +# About using stlport4 +# http://developers.sun.com/solaris/articles/cmp_stlport_libCstd.html + +NAME = protobuf +VERSION = 3.0.0 +GARTYPE = v2 +CATEGORY = python +define BLURB + Protocol Buffers are a way of encoding structured data in an efficient yet + extensible format. Google uses Protocol Buffers for almost all of its + internal RPC protocols and file formats. +endef + +DESCRIPTION = Google Protocol buffers +MASTER_SITES += https://github.com/google/protobuf/releases/download/v3.0.0/ +#MASTER_SITES += https://github.com/google/protobuf/archive/ +#DISTFILES += $(NAME)-cpp-$(VERSION).tar.gz +DISTFILES += $(NAME)-python-$(VERSION).tar.gz +#DISTFILES += v$(VERSION).tar.gz + +EXTRA_MODULATORS += PYTHON_VERSION +# No more Python 2.6 for Protobuf 3.0 +MODULATIONS_PYTHON_VERSION = 2.7 +# We need 64 bit just once as it is without python anyway +SKIP_MODULATIONS += isa-sparcv9-python_version-2.7 +SKIP_MODULATIONS += isa-amd64-python_version-2.7 +PYTHON = $(bindir)/python$(PYTHON_VERSION) +MERGE_SCRIPTS_isa-default-python_version-2.7 += copy-all + +VENDOR_URL = https://github.com/google/protobuf/ +LICENSE = LICENSE + +#PACKAGES += CSWlibprotobuf-lite10 +SPKG_DESC_CSWlibprotobuf-lite10 = $(DESCRIPTION), libprotobuf-lite.so.10 +PKGFILES_CSWlibprotobuf-lite10 += $(call pkgfiles_lib,libprotobuf-lite.so.10) +RUNTIME_DEP_PKGS_CSWlibprotobuf-lite10 += CSWlibgcc-s1 +RUNTIME_DEP_PKGS_CSWlibprotobuf-lite10 += CSWlibstdc++6 + +#PACKAGES += CSWlibprotobuf10 +SPKG_DESC_CSWlibprotobuf10 = $(DESCRIPTION), libprotobuf.so.10 +PKGFILES_CSWlibprotobuf10 += $(call pkgfiles_lib,libprotobuf.so.10) +RUNTIME_DEP_PKGS_CSWlibprotobuf10 += CSWlibgcc-s1 +RUNTIME_DEP_PKGS_CSWlibprotobuf10 += CSWlibstdc++6 +RUNTIME_DEP_PKGS_CSWlibprotobuf10 += CSWlibz1 + +#PACKAGES += CSWlibprotoc10 +SPKG_DESC_CSWlibprotoc10 = $(DESCRIPTION), libprotoc.so.10 +PKGFILES_CSWlibprotoc10 += $(call pkgfiles_lib,libprotoc.so.10) +RUNTIME_DEP_PKGS_CSWlibprotoc10 += CSWlibprotobuf10 +RUNTIME_DEP_PKGS_CSWlibprotoc10 += CSWlibgcc-s1 +RUNTIME_DEP_PKGS_CSWlibprotoc10 += CSWlibstdc++6 + +#PACKAGES += CSWprotobuf-dev +SPKG_DESC_CSWprotobuf-dev = $(DESCRIPTION), header files +# PKGFILES is catchall +#RUNTIME_DEP_PKGS_CSWprotobuf-dev += CSWpy-protobuf +RUNTIME_DEP_PKGS_CSWprotobuf-dev += CSWlibgcc-s1 +RUNTIME_DEP_PKGS_CSWprotobuf-dev += CSWlibstdc++6 +RUNTIME_DEP_PKGS_CSWprotobuf-dev += CSWlibprotobuf-lite10 +RUNTIME_DEP_PKGS_CSWprotobuf-dev += CSWlibprotobuf10 +RUNTIME_DEP_PKGS_CSWprotobuf-dev += CSWlibprotoc10 + +# Python support +# Disabled, this is now a separate upstream tarball +PACKAGES += CSWpy-protobuf +SPKG_DESC_CSWpy-protobuf= $(DESCRIPTION), Python support +RUNTIME_DEP_PKGS_CSWpy-protobuf += CSWpython +PKGFILES_CSWpy-protobuf += $(libdir)/python.* +ARCHALL_CSWpy-protobuf = 1 +CHECKPKG_OVERRIDES_CSWpy-protobuf += surplus-dependency|CSWprotobuf + +# This is intended, no more Python 2.6 +CHECKPKG_OVERRIDES_CSWpy-protobuf += python-package-missing-py26-files +CHECKPKG_OVERRIDES_CSWpy-protobuf += surplus-dependency|CSWpython + +GARCOMPILER = GNU +BUILD64 = 1 +CONFIGURE_ARGS += $(DIRPATHS) + +CONFIGURE_ARGS-32 += --disable-64bit-solaris +CONFIGURE_ARGS += $(CONFIGURE_ARGS-$(MEMORYMODEL)) + +# We need 'id -u' +CONFIGURE_ENV_PATH = /usr/xpg4/bin:$(PATH) + +# We need 'grep' to accept '-f' +BUILD_ENV_PATH = /opt/csw/gnu:$(PATH) + +PYCOMPILE = 1 + +# The test protobuf-test is dumping core in the testsuite, skip for now. +# Enable tests afain after this is fixed: +# https://github.com/google/protobuf/issues/1755 +SKIPTEST ?= 1 + +include gar/category.mk + +post-build: + (cd $(WORKSRC)/python; $(PYTHON) setup.py build) + @$(MAKECOOKIE) + +post-install: + (cd $(WORKSRC)/python; $(PYTHON) setup.py install --root=$(DESTDIR) --prefix=$(prefix)) + @$(MAKECOOKIE) Deleted: csw/mgar/pkg/lang-python/protobuf-python/trunk/checksums =================================================================== --- csw/mgar/pkg/protobuf/trunk/checksums 2016-07-06 11:21:51 UTC (rev 25802) +++ csw/mgar/pkg/lang-python/protobuf-python/trunk/checksums 2016-08-03 11:39:28 UTC (rev 25865) @@ -1 +0,0 @@ -11aaac2d704eef8efd1867a807865d85 protobuf-2.6.1.tar.bz2 Copied: csw/mgar/pkg/lang-python/protobuf-python/trunk/checksums (from rev 25863, csw/mgar/pkg/protobuf/trunk/checksums) =================================================================== --- csw/mgar/pkg/lang-python/protobuf-python/trunk/checksums (rev 0) +++ csw/mgar/pkg/lang-python/protobuf-python/trunk/checksums 2016-08-03 11:39:28 UTC (rev 25865) @@ -0,0 +1 @@ +6bcdaca757f781ce07732d63c01e1fd2 protobuf-python-3.0.0.tar.gz This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.