FreeBSD Bugzilla – Attachment 186617 Details for
Bug 220596
[NEW PORT] shells/xonsh: Python-ish BASH-wards shell
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Final diff of xonsh for FreeBSD
xonsh.patch (text/plain), 2.85 KB, created by
Roberto Fernandez Cueto
on 2017-09-22 14:06:16 UTC
(
hide
)
Description:
Final diff of xonsh for FreeBSD
Filename:
MIME Type:
Creator:
Roberto Fernandez Cueto
Created:
2017-09-22 14:06:16 UTC
Size:
2.85 KB
patch
obsolete
>Index: shells/xonsh/Makefile >=================================================================== >--- shells/xonsh/Makefile (nonexistent) >+++ shells/xonsh/Makefile (working copy) >@@ -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 <bsd.port.mk> >Index: shells/xonsh/distinfo >=================================================================== >--- shells/xonsh/distinfo (nonexistent) >+++ shells/xonsh/distinfo (working copy) >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1506080374 >+SHA256 (xonsh-0.5.12.tar.gz) = 4ca8fd5f1ce5532fba252132a7a7db26b38d80429d8d538928d1aed26149e5fb >+SIZE (xonsh-0.5.12.tar.gz) = 686495 >Index: shells/xonsh/files/patch-xonsh_platform.py >=================================================================== >--- shells/xonsh/files/patch-xonsh_platform.py (nonexistent) >+++ shells/xonsh/files/patch-xonsh_platform.py (working copy) >@@ -0,0 +1,11 @@ >+--- xonsh/platform.py.orig 2017-09-22 13:50:50.680540000 +0200 >++++ xonsh/platform.py 2017-09-22 13:51:23.221445000 +0200 >+@@ -491,7 +491,7 @@ >+ 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: >Index: shells/xonsh/files/patch-xonsh_xoreutils_uptime.py >=================================================================== >--- shells/xonsh/files/patch-xonsh_xoreutils_uptime.py (nonexistent) >+++ shells/xonsh/files/patch-xonsh_xoreutils_uptime.py (working copy) >@@ -0,0 +1,11 @@ >+--- xonsh/xoreutils/uptime.py.orig 2017-09-22 13:56:47.301837000 +0200 >++++ xonsh/xoreutils/uptime.py 2017-09-22 13:57:29.448631000 +0200 >+@@ -100,7 +100,7 @@ >+ 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 >Index: shells/xonsh/pkg-descr >=================================================================== >--- shells/xonsh/pkg-descr (nonexistent) >+++ shells/xonsh/pkg-descr (working copy) >@@ -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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 220596
:
184224
|
184229
|
184232
|
184957
| 186617