components/python/docutils/python-integrate-project.conf | ●●●●● patch | view | raw | blame | history | |
components/python/lxml/python-integrate-project.conf | ●●●●● patch | view | raw | blame | history | |
components/python/tox-current-env/python-integrate-project.conf | ●●●●● patch | view | raw | blame | history | |
components/python/validate-pyproject/python-integrate-project.conf | ●●●●● patch | view | raw | blame | history | |
make-rules/gcc-component.mk | ●●●●● patch | view | raw | blame | history | |
make-rules/ips.mk | ●●●●● patch | view | raw | blame | history | |
make-rules/setup.py.mk | ●●●●● patch | view | raw | blame | history | |
make-rules/shared-macros.mk | ●●●●● patch | view | raw | blame | history |
components/python/docutils/python-integrate-project.conf
@@ -27,7 +27,7 @@ COMPONENT_TEST_TRANSFORMS += \ " | ( \ $(GSED) -u -e '/^Docutils package:/q' ; \ $(GSED) -u -e '/^$$/Q' | LC_ALL=C $(GSORT) | $(NAWK) '{print}END{if(NR>0)printf(\"\\\\n\")}' ; \ $(GSED) -u -e '/^$$/Q' | $(SORT) | $(NAWK) '{print}END{if(NR>0)printf(\"\\\\n\")}' ; \ $(CAT) \ ) | $(COMPONENT_TEST_TRANSFORMER) -e ''" %hook-no-license% components/python/lxml/python-integrate-project.conf
@@ -38,7 +38,7 @@ # Sort list of tests COMPONENT_TEST_TRANSFORMS += \ " | ( \ $(GSED) -u -e '/^$$/Q' | LC_ALL=C $(GSORT) | $(NAWK) '{print}END{if(NR>0)printf(\"\\\\n\")}' ; \ $(GSED) -u -e '/^$$/Q' | $(SORT) | $(NAWK) '{print}END{if(NR>0)printf(\"\\\\n\")}' ; \ $(CAT) \ )" components/python/tox-current-env/python-integrate-project.conf
@@ -29,6 +29,6 @@ "| ( \ $(GSED) -u -e '/^=\{1,\} test session starts /q' ; \ $(GSED) -u -e '/^$$/q' ; \ $(GSED) -u -e '/^$$/Q' | LC_ALL=C $(GSORT) | $(NAWK) '{print}END{if(NR>0)printf(\"\\\\n\")}' ; \ $(GSED) -u -e '/^$$/Q' | $(SORT) | $(NAWK) '{print}END{if(NR>0)printf(\"\\\\n\")}' ; \ $(CAT) \ ) | $(COMPONENT_TEST_TRANSFORMER) -e ''" components/python/validate-pyproject/python-integrate-project.conf
@@ -26,6 +26,6 @@ $(GSED) -u -e '/^=\{1,\} test session starts /q' ; \ $(GSED) -u -e '/^=\{1,\} test session starts /q' ; \ $(GSED) -u -e '/^$$/q' ; \ $(GSED) -u -e 's/ *\[...%\]$$//' -e '/^$$/Q' | LC_ALL=C $(GSORT) | $(NAWK) '{print}END{if(NR>0)printf(\"\\\\n\")}' ; \ $(GSED) -u -e 's/ *\[...%\]$$//' -e '/^$$/Q' | $(SORT) | $(NAWK) '{print}END{if(NR>0)printf(\"\\\\n\")}' ; \ $(CAT) \ ) | $(COMPONENT_TEST_TRANSFORMER) -e ''" make-rules/gcc-component.mk
@@ -43,7 +43,7 @@ PATCH_EACH_ARCHIVE=1 PATCHDIR_PATCHES = $(shell find $(PATCH_DIR) -type f -name '$(PATCH_PATTERN)' \ 2>/dev/null | sort) 2>/dev/null | $(SORT)) MPFR_NAME= mpfr ifeq ($(strip $(MPFR_VERSION)),) @@ -168,7 +168,7 @@ $(GMAKE) -k -i $(JOBS:%=-j%) check check-target RUNTESTFLAGS="--target_board=unix/-m64\{,-msave-args\}" ; \ $(FIND) . -name '*.sum' | while read f; do \ gsed -e '1,/^Running target unix/p' -e 'd' $f > $f.2; \ gsed -e '/^Running target unix/,/Summary ===$/p' -e 'd' $f | grep '^.*: ' | sort -k 2 >> $f.2; \ gsed -e '/^Running target unix/,/Summary ===$/p' -e 'd' $f | grep '^.*: ' | $(SORT) -k 2 >> $f.2; \ gsed -e '/Summary ===$/,$p' -e 'd' $f >> $f.2; \ mv $f.2 $f; done; \ $(GMAKE) mail-report.log) @@ -180,7 +180,7 @@ $(GMAKE) -k -i $(JOBS:%=-j%) check check-target RUNTESTFLAGS="--target_board=unix/-m64" ; \ $(FIND) . -name '*.sum' | while read f; do \ gsed -e '1,/^Running target unix/p' -e 'd' $f > $f.2; \ gsed -e '/^Running target unix/,/Summary ===$/p' -e 'd' $f | grep '^.*: ' | sort -k 2 >> $f.2; \ gsed -e '/^Running target unix/,/Summary ===$/p' -e 'd' $f | grep '^.*: ' | $(SORT) -k 2 >> $f.2; \ gsed -e '/Summary ===$/,$p' -e 'd' $f >> $f.2; \ mv $f.2 $f; done; \ $(GMAKE) mail-report.log) make-rules/ips.mk
@@ -166,14 +166,14 @@ define ips-print-depend-require-rule $(shell cat $(1) $(WS_TOP)/transforms/print-depend-require |\ $(PKGMOGRIFY) $(PKG_OPTIONS) /dev/fd/0 |\ sed -e '/^$$/d' -e '/^#.*$$/d' | sort -u) sed -e '/^$$/d' -e '/^#.*$$/d' | $(SORT) -u) endef define ips-print-depend-require-versioned-rule $(foreach v,$($(1)V_VALUES),\ $(shell cat $(2) $(WS_TOP)/transforms/print-pkgs |\ $(PKGMOGRIFY) $(PKG_OPTIONS) -D $($(1)V_FMRI_VERSION)=$(v) /dev/fd/0 |\ sed -e '/^$$/d' -e '/^#.*$$/d' | sort -u)) sed -e '/^$$/d' -e '/^#.*$$/d' | $(SORT) -u)) endef define ips-print-depend-require-type-rule @@ -183,14 +183,14 @@ define ips-print-names-rule $(shell cat $(1) $(WS_TOP)/transforms/print-pkgs |\ $(PKGMOGRIFY) $(PKG_OPTIONS) /dev/fd/0 |\ sed -e '/^$$/d' -e '/^#.*$$/d' | LANG=C LC_ALL=C sort -u) sed -e '/^$$/d' -e '/^#.*$$/d' | $(SORT) -u) endef define ips-print-names-versioned-rule $(foreach v,$($(1)V_VALUES),\ $(shell cat $(2) $(WS_TOP)/transforms/print-pkgs |\ $(PKGMOGRIFY) $(PKG_OPTIONS) -D $($(1)V_FMRI_VERSION)=$(v) /dev/fd/0 |\ sed -e '/^$$/d' -e '/^#.*$$/d' | LANG=C LC_ALL=C sort -u)) sed -e '/^$$/d' -e '/^#.*$$/d' | $(SORT) -u)) endef # @@ -201,7 +201,7 @@ $(shell cat $(2) $(WS_TOP)/transforms/mkgeneric $(BUILD_DIR)/mkgeneric-python \ $(WS_TOP)/transforms/print-pkgs |\ $(PKGMOGRIFY) $(PKG_OPTIONS) -D $($(1)V_FMRI_VERSION)=\#\#\# /dev/fd/0 |\ sed -e '/^$$/d' -e '/^#.*$$/d' | LANG=C LC_ALL=C sort -u) sed -e '/^$$/d' -e '/^#.*$$/d' | $(SORT) -u) endef define ips-print-names-type-rule @@ -525,7 +525,7 @@ echo $${pkg} ; \ done ; \ $(PKGMOGRIFY) $(WS_TRANSFORMS)/PRINT_COMPONENT_FMRIS $(DEPENDED) | \ $(GSED) -e '/^[\t ]*$$/d' -e '/^#/d' ;) | sort -u >$@ $(GSED) -e '/^[\t ]*$$/d' -e '/^#/d' ;) | $(SORT) -u >$@ $(BUILD_DIR)/runtime-perl.p5m: $(WS_TOOLS)/runtime-perl.p5m $(CP) $< $@ @@ -540,7 +540,7 @@ $(BUILD_DIR)/filter-own-pkgs: $(DEPENDED) $(PKGMOGRIFY) $(WS_TRANSFORMS)/PRINT_COMPONENT_FMRIS $(DEPENDED) \ | $(GSED) -e '/^[\t ]*$$/d' -e '/^#/d' -e 's/^\///g' -e 's/\//\\\//g' \ | sort -u \ | $(SORT) -u \ | $(GSED) -e 's/^\(.*\)$$/\/^REQUIRED_PACKAGES += \1$$\/d/g' >$@ # Set REQUIRED_PACKAGES macro substitution rules @@ -562,7 +562,7 @@ | $(GSED) -e 's,pkg:/,,g' -e 's/@.*$$//g' \ -f $(BUILD_DIR)/filter-own-pkgs \ $(REQUIRED_PACKAGES_TRANSFORM) \ | sort -u >>Makefile | $(SORT) -u >>Makefile @echo "*** Please edit your Makefile and verify the new or updated content at the end ***" @@ -621,14 +621,14 @@ @cat $(CANONICAL_MANIFESTS) $(WS_TOP)/transforms/print-paths | \ $(PKGMOGRIFY) $(PKG_OPTIONS) /dev/fd/0 | \ sed -e '/^$$/d' -e '/^#.*$$/d' | \ LANG=C LC_ALL=C sort -u $(SORT) -u install-packages: publish @if [ $(IS_GLOBAL_ZONE) = 0 -o x$(ROOT) != x ]; then \ cat $(VERSIONED_MANIFESTS) $(WS_TOP)/transforms/print-paths | \ $(PKGMOGRIFY) $(PKG_OPTIONS) /dev/fd/0 | \ sed -e '/^$$/d' -e '/^#.*$$/d' -e 's;/;;' | \ LANG=C LC_ALL=C sort -u | \ $(SORT) -u | \ (cd $(PROTO_DIR) ; pfexec /bin/cpio -dump $(ROOT)) ; \ else ; \ echo "unsafe to install package(s) automatically" ; \ make-rules/setup.py.mk
@@ -350,7 +350,7 @@ $(GSED) -u -e '/^Doctest summary/Q' \ | $(NAWK) '/^$$/{\$$0=\"\\\\n\"}1' ORS='|' \ | $(GNU_GREP) -v '^|$$' \ | LC_ALL=C $(GSORT) \ | $(SORT) \ | tr -d '\\\\n' | tr '|' '\\\\n' \ | $(NAWK) '{print}END{if(NR>0)printf(\"\\\\nDoctest summary\\\\n\")}' ; \ $(CAT) \ @@ -420,7 +420,7 @@ "| ( \ $(GSED) -u -e '/^=\{1,\} test session starts /q' ; \ $(GSED) -u -e '/^$$/q' ; \ $(GSED) -u -e 's/ *\[...%\]$$//' -e '/^$$/Q' | LC_ALL=C $(GSORT) | $(NAWK) '{print}END{if(NR>0)printf(\"\\\\n\")}' ; \ $(GSED) -u -e 's/ *\[...%\]$$//' -e '/^$$/Q' | $(SORT) | $(NAWK) '{print}END{if(NR>0)printf(\"\\\\n\")}' ; \ $(CAT) \ ) | $(COMPONENT_TEST_TRANSFORMER)" COMPONENT_TEST_TRANSFORMS += \ @@ -502,13 +502,13 @@ # runtime dependency list. The dependency on META.depend-test.required here is # purely to get the file created as a side effect of this target. $(BUILD_DIR)/META.depend-runtime.res: $(INSTALL_$(MK_BITS)) $(BUILD_DIR)/META.depend-test.required $(CAT) $(INSTALL_$(MK_BITS):%.installed=%.depend-runtime) | LC_ALL=C $(GSORT) -u \ $(CAT) $(INSTALL_$(MK_BITS):%.installed=%.depend-runtime) | $(SORT) -u \ | $(GSED) -e 's/.*/depend type=require fmri=pkg:\/library\/python\/&-$$(PYV)/' > $@ # Convert raw per version lists of test dependencies to single list of # TEST_REQUIRED_PACKAGES entries $(BUILD_DIR)/META.depend-test.required: $(INSTALL_$(MK_BITS)) $(CAT) $(INSTALL_$(MK_BITS):%.installed=%.depend-test) | LC_ALL=C $(GSORT) -u \ $(CAT) $(INSTALL_$(MK_BITS):%.installed=%.depend-test) | $(SORT) -u \ | $(GSED) -e 's/.*/TEST_REQUIRED_PACKAGES.python += library\/python\/&/' > $@ # Add META.depend-test.required to the generated list of REQUIRED_PACKAGES make-rules/shared-macros.mk
@@ -962,6 +962,8 @@ GSORT = /usr/gnu/bin/sort GUNZIP = /usr/bin/gunzip SORT = LC_ALL=C /usr/bin/sort PKGREPO = /usr/bin/pkgrepo PKGSEND = /usr/bin/pkgsend ifeq ($(strip $(PKGLINT_COMPONENT)),)