Skip to content

Commit

Permalink
ipython: add Python 3.5 version
Browse files Browse the repository at this point in the history
  • Loading branch information
pyhalov committed Sep 13, 2018
1 parent b46be50 commit b566414
Show file tree
Hide file tree
Showing 7 changed files with 722 additions and 2,811 deletions.
16 changes: 10 additions & 6 deletions components/python/ipython/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ include ../../../make-rules/shared-macros.mk

COMPONENT_NAME= ipython
COMPONENT_VERSION= 5.0.0
COMPONENT_REVISION= 1
COMPONENT_REVISION= 2
COMPONENT_PROJECT_URL= http://ipython.org/
COMPONENT_SUMMARY= Enhanced interactive Python shell
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
Expand All @@ -39,25 +39,29 @@ COMPONENT_FMRI= library/python/ipython
COMPONENT_CLASSIFICATION= Development/Python
COMPONENT_LICENSE= BSD

PYTHON_VERSIONS=2.7 3.4 3.5

include $(WS_MAKE_RULES)/prep.mk
include $(WS_MAKE_RULES)/setup.py.mk
include $(WS_MAKE_RULES)/ips.mk

PYTHON_VERSIONS=2.7 3.4

# Replace "#!/usr/bin/env ..." shebang lines with properly versioned ones.
COMPONENT_PRE_BUILD_ACTION = \
/usr/bin/find $(SOURCE_DIR) -name *.py \
-exec $(GSED) -i -e 's/env python/python$(PYTHON_VERSION)/' "{}" \; ;

ASLR_MODE = $(ASLR_NOT_APPLICABLE)
COMPONENT_POST_INSTALL_ACTION = \
(cd $(PROTO_DIR)/usr/bin ; \
$(MV) ipython ipython-$(PYTHON_VERSION);\
$(MV) iptest iptest-$(PYTHON_VERSION); )

# common targets
build: $(BUILD_32)
build: $(BUILD_NO_ARCH)

install: $(INSTALL_32)
install: $(INSTALL_NO_ARCH)

test: $(NO_TESTS)

REQUIRED_PACKAGES += runtime/python-27
REQUIRED_PACKAGES += runtime/python-34
REQUIRED_PACKAGES += runtime/python-35
363 changes: 0 additions & 363 deletions components/python/ipython/ipython-27.p5m

This file was deleted.

350 changes: 0 additions & 350 deletions components/python/ipython/ipython-34.p5m.notyet

This file was deleted.

18 changes: 18 additions & 0 deletions components/python/ipython/ipython-GENFRAG.p5m
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#
# 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 2016 Adam Stevko
#

license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)'

file usr/lib/python2.7/vendor-packages/share/man/man1/ipython.1 path=usr/share/man/man1/ipython.1
374 changes: 374 additions & 0 deletions components/python/ipython/ipython-PYVER.p5m

Large diffs are not rendered by default.

36 changes: 0 additions & 36 deletions components/python/ipython/ipython.p5m

This file was deleted.

Loading

0 comments on commit b566414

Please sign in to comment.