View | Details | Raw Unified | Return to bug 220596 | Differences between
and this patch

Collapse All | Expand All

(-)shells/xonsh/Makefile (+21 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=	xonsh
4
PORTVERSION=	0.5.12
5
CATEGORIES=	shells python
6
MASTER_SITES=	CHEESESHOP
7
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
8
9
MAINTAINER=	roberfern@gmail.com
10
COMMENT=	Python-ish BASH-wards shell
11
12
LICENSE=	BSD2CLAUSE
13
14
BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}amalgamate>=0:devel/py-amalgamate
15
16
NO_ARCH=	yes
17
18
USES=		python:3.4+
19
USE_PYTHON=	distutils autoplist concurrent 
20
21
.include <bsd.port.mk>
(-)shells/xonsh/distinfo (+3 lines)
Line 0 Link Here
1
TIMESTAMP = 1506080374
2
SHA256 (xonsh-0.5.12.tar.gz) = 4ca8fd5f1ce5532fba252132a7a7db26b38d80429d8d538928d1aed26149e5fb
3
SIZE (xonsh-0.5.12.tar.gz) = 686495
(-)shells/xonsh/files/patch-xonsh_platform.py (+11 lines)
Line 0 Link Here
1
--- xonsh/platform.py.orig	2017-09-22 13:50:50.680540000 +0200
2
+++ xonsh/platform.py	2017-09-22 13:51:23.221445000 +0200
3
@@ -491,7 +491,7 @@
4
         libc = ctypes.CDLL('cygwin1.dll')
5
     elif ON_BSD:
6
         try:
7
-            libc = ctypes.CDLL('libc.so')
8
+      	     libc = ctypes.CDLL(ctypes.util.find_library("c"))
9
         except AttributeError:
10
             libc = None
11
         except OSError:
(-)shells/xonsh/files/patch-xonsh_xoreutils_uptime.py (+11 lines)
Line 0 Link Here
1
--- xonsh/xoreutils/uptime.py.orig	2017-09-22 13:56:47.301837000 +0200
2
+++ xonsh/xoreutils/uptime.py	2017-09-22 13:57:29.448631000 +0200
3
@@ -100,7 +100,7 @@
4
         return None
5
     # Determine how much space we need for the response.
6
     sz = ctypes.c_uint(0)
7
-    xp.LIBC.sysctlbyname('kern.boottime', None, ctypes.byref(sz), None, 0)
8
+    xp.LIBC.sysctlbyname(b'kern.boottime', None, ctypes.byref(sz), None, 0)
9
     if sz.value != struct.calcsize('@LL'):
10
         # Unexpected, let's give up.
11
         return None
(-)shells/xonsh/pkg-descr (+7 lines)
Line 0 Link Here
1
xonsh is a Python-ish, BASHwards-looking shell language and command prompt.
2
3
The language is a superset of Python 3.4+ with additional shell primitives.
4
xonsh (pronounced conch) is meant for the daily use of experts and novices
5
alike.
6
7
WWW: http://xon.sh

Return to bug 220596