Alexander Pyhalov
2020-01-16 57305b24f1b9b91bebec8f1e1930f2a1fd3906bc
gamin: split python modules to separate package
1 files added
2 files modified
52 ■■■■ changed files
components/library/gamin/Makefile 20 ●●●●● patch | view | raw | blame | history
components/library/gamin/gamin-27.p5m 27 ●●●●● patch | view | raw | blame | history
components/library/gamin/gamin.p5m 5 ●●●●● patch | view | raw | blame | history
components/library/gamin/Makefile
@@ -13,11 +13,12 @@
# Copyright 2015 Alexander Pyhalov
#
BUILD_BITS=32_and_64
include ../../../make-rules/shared-macros.mk
COMPONENT_NAME= gamin
COMPONENT_VERSION= 0.1.10
COMPONENT_REVISION= 1
COMPONENT_REVISION= 2
COMPONENT_SUMMARY= Library providing the FAM File Alteration Monitor API
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
@@ -31,11 +32,14 @@
COMPONENT_LICENSE= LGPLv2
COMPONENT_LICENSE_FILE= COPYING
include $(WS_MAKE_RULES)/prep.mk
include $(WS_MAKE_RULES)/configure.mk
include $(WS_MAKE_RULES)/ips.mk
TEST_TARGET=$(NO_TESTS)
PATH=/usr/gnu/bin:/usr/bin
include $(WS_MAKE_RULES)/common.mk
# Later python is not supported
PYTHON_VERSION = 2.7
PATH=$(PATH.gnu)
COMPONENT_PREP_ACTION =        ( cd $(@D)  && \
                    libtoolize --copy --force &&\
@@ -49,12 +53,6 @@
CONFIGURE_OPTIONS += --with-python=$(PYTHON.$(BITS))
CONFIGURE_ENV += pythondir=$(PYTHON_VENDOR_PACKAGES)
build: $(BUILD_32_and_64)
install: $(INSTALL_32_and_64)
test: $(NO_TESTS)
REQUIRED_PACKAGES += library/glib2
REQUIRED_PACKAGES += runtime/python-27
components/library/gamin/gamin-27.p5m
New file
@@ -0,0 +1,27 @@
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source.  A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#
#
# Copyright 2020 Alexander Pyhalov
#
set name=pkg.fmri value=pkg:/library/python/gamin-27@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.summary value="$(COMPONENT_SUMMARY)"
set name=info.classification value="org.opensolaris.category.2008:Development/Python"
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)'
file path=usr/lib/python2.7/vendor-packages/64/_gamin.so
file path=usr/lib/python2.7/vendor-packages/_gamin.so
file path=usr/lib/python2.7/vendor-packages/gamin.py
components/library/gamin/gamin.p5m
@@ -22,9 +22,8 @@
license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)'
file path=usr/lib/python2.7/vendor-packages/64/_gamin.so
file path=usr/lib/python2.7/vendor-packages/_gamin.so
file path=usr/lib/python2.7/vendor-packages/gamin.py
depend type=conditional fmri=library/python/gamin-27 \
    predicate=runtime/python-27
file path=usr/include/fam.h
file path=usr/lib/$(MACH64)/gam_server mode=0555