From owner-svn-ports-all@freebsd.org Fri Sep 22 14:57:43 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6D127E00B8A; Fri, 22 Sep 2017 14:57:43 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 43D556F43F; Fri, 22 Sep 2017 14:57:43 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v8MEvgdd098100; Fri, 22 Sep 2017 14:57:42 GMT (envelope-from matthew@FreeBSD.org) Received: (from matthew@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v8MEvfxh098093; Fri, 22 Sep 2017 14:57:41 GMT (envelope-from matthew@FreeBSD.org) Message-Id: <201709221457.v8MEvfxh098093@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: matthew set sender to matthew@FreeBSD.org using -f From: Matthew Seaman Date: Fri, 22 Sep 2017 14:57:41 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r450378 - in head/shells: . xonsh xonsh/files X-SVN-Group: ports-head X-SVN-Commit-Author: matthew X-SVN-Commit-Paths: in head/shells: . xonsh xonsh/files X-SVN-Commit-Revision: 450378 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Sep 2017 14:57:43 -0000 Author: matthew Date: Fri Sep 22 14:57:41 2017 New Revision: 450378 URL: https://svnweb.freebsd.org/changeset/ports/450378 Log: xonsh is a Python-ish, BASHwards-looking shell language and command prompt. The language is a superset of Python 3.4+ with additional shell primitives. xonsh (pronounced conch) is meant for the daily use of experts and novices alike. WWW: http://xon.sh PR: 220596 Submitted by: roberfern@gmail.com Added: head/shells/xonsh/ head/shells/xonsh/Makefile (contents, props changed) head/shells/xonsh/distinfo (contents, props changed) head/shells/xonsh/files/ head/shells/xonsh/files/patch-xonsh_platform.py (contents, props changed) head/shells/xonsh/files/patch-xonsh_xoreutils_uptime.py (contents, props changed) head/shells/xonsh/pkg-descr (contents, props changed) Modified: head/shells/Makefile Modified: head/shells/Makefile ============================================================================== --- head/shells/Makefile Fri Sep 22 14:09:43 2017 (r450377) +++ head/shells/Makefile Fri Sep 22 14:57:41 2017 (r450378) @@ -45,6 +45,7 @@ SUBDIR += viewglob SUBDIR += vshnu SUBDIR += wcd + SUBDIR += xonsh SUBDIR += zsh SUBDIR += zsh-navigation-tools Added: head/shells/xonsh/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/shells/xonsh/Makefile Fri Sep 22 14:57:41 2017 (r450378) @@ -0,0 +1,21 @@ +# $FreeBSD$ + +PORTNAME= xonsh +PORTVERSION= 0.5.12 +CATEGORIES= shells python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= roberfern@gmail.com +COMMENT= Python-ish BASH-wards shell + +LICENSE= BSD2CLAUSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}amalgamate>=0:devel/py-amalgamate + +NO_ARCH= yes + +USES= python:3.4+ +USE_PYTHON= distutils autoplist concurrent + +.include Added: head/shells/xonsh/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/shells/xonsh/distinfo Fri Sep 22 14:57:41 2017 (r450378) @@ -0,0 +1,3 @@ +TIMESTAMP = 1506080374 +SHA256 (xonsh-0.5.12.tar.gz) = 4ca8fd5f1ce5532fba252132a7a7db26b38d80429d8d538928d1aed26149e5fb +SIZE (xonsh-0.5.12.tar.gz) = 686495 Added: head/shells/xonsh/files/patch-xonsh_platform.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/shells/xonsh/files/patch-xonsh_platform.py Fri Sep 22 14:57:41 2017 (r450378) @@ -0,0 +1,11 @@ +--- xonsh/platform.py.orig 2017-03-12 02:36:40 UTC ++++ xonsh/platform.py +@@ -491,7 +491,7 @@ def LIBC(): + libc = ctypes.CDLL('cygwin1.dll') + elif ON_BSD: + try: +- libc = ctypes.CDLL('libc.so') ++ libc = ctypes.CDLL(ctypes.util.find_library("c")) + except AttributeError: + libc = None + except OSError: Added: head/shells/xonsh/files/patch-xonsh_xoreutils_uptime.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/shells/xonsh/files/patch-xonsh_xoreutils_uptime.py Fri Sep 22 14:57:41 2017 (r450378) @@ -0,0 +1,11 @@ +--- xonsh/xoreutils/uptime.py.orig 2017-02-11 16:24:07 UTC ++++ xonsh/xoreutils/uptime.py +@@ -100,7 +100,7 @@ def _uptime_bsd(): + return None + # Determine how much space we need for the response. + sz = ctypes.c_uint(0) +- xp.LIBC.sysctlbyname('kern.boottime', None, ctypes.byref(sz), None, 0) ++ xp.LIBC.sysctlbyname(b'kern.boottime', None, ctypes.byref(sz), None, 0) + if sz.value != struct.calcsize('@LL'): + # Unexpected, let's give up. + return None Added: head/shells/xonsh/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/shells/xonsh/pkg-descr Fri Sep 22 14:57:41 2017 (r450378) @@ -0,0 +1,7 @@ +xonsh is a Python-ish, BASHwards-looking shell language and command prompt. + +The language is a superset of Python 3.4+ with additional shell primitives. +xonsh (pronounced conch) is meant for the daily use of experts and novices +alike. + +WWW: http://xon.sh