svn commit: r475539 - in head/devel: . py-backports.os
Martin Wilke
miwi at FreeBSD.org
Sat Jul 28 12:13:58 UTC 2018
Author: miwi
Date: Sat Jul 28 12:13:55 2018
New Revision: 475539
URL: https://svnweb.freebsd.org/changeset/ports/475539
Log:
This package provides backports of new features in Python's os module under the
backports namespace.
Backported functionality:
- os.fsencode (new in Python 3.2)
- os.fsdecode (new in Python 3.2)
WWW: https://github.com/pjdelport/backports.os
PR: 229497
Submitted by: freebsd_ports at k-worx.org
Sponsored by: iXsystems Inc.
Added:
head/devel/py-backports.os/
head/devel/py-backports.os/Makefile (contents, props changed)
head/devel/py-backports.os/distinfo (contents, props changed)
head/devel/py-backports.os/pkg-descr (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Sat Jul 28 12:12:20 2018 (r475538)
+++ head/devel/Makefile Sat Jul 28 12:13:55 2018 (r475539)
@@ -4362,6 +4362,7 @@
SUBDIR += py-backports
SUBDIR += py-backports.csv
SUBDIR += py-backports.functools_lru_cache
+ SUBDIR += py-backports.os
SUBDIR += py-backports.shutil_get_terminal_size
SUBDIR += py-backports.tempfile
SUBDIR += py-backports.weakref
Added: head/devel/py-backports.os/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-backports.os/Makefile Sat Jul 28 12:13:55 2018 (r475539)
@@ -0,0 +1,32 @@
+# $FreeBSD$
+
+PORTNAME= backports.os
+DISTVERSION= 0.1.1
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= freebsd_ports at k-worx.org
+COMMENT= Backport of new features in Python's os module
+
+LICENSE= PSFL
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}backports>=0:devel/py-backports@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}future>=0:devel/py-future@${PY_FLAVOR}
+
+USES= python:2.7
+USE_PYTHON= distutils autoplist
+
+NO_ARCH= yes
+
+POST_PLIST= trim-backports-namespace
+
+post-install:
+ @${RM} ${STAGEDIR}${PYTHON_SITELIBDIR}/backports/__init__.py*
+
+trim-backports-namespace:
+ @${REINPLACE_CMD} '/backports\/__init__.py*/d' ${TMPPLIST}
+
+.include <bsd.port.mk>
Added: head/devel/py-backports.os/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-backports.os/distinfo Sat Jul 28 12:13:55 2018 (r475539)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1530191181
+SHA256 (backports.os-0.1.1.tar.gz) = b472c4933094306ca08ec90b2a8cbb50c34f1fb2767775169a1c1650b7b74630
+SIZE (backports.os-0.1.1.tar.gz) = 12495
Added: head/devel/py-backports.os/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-backports.os/pkg-descr Sat Jul 28 12:13:55 2018 (r475539)
@@ -0,0 +1,9 @@
+This package provides backports of new features in Python's os module under the
+backports namespace.
+
+Backported functionality:
+
+- os.fsencode (new in Python 3.2)
+- os.fsdecode (new in Python 3.2)
+
+WWW: https://github.com/pjdelport/backports.os
More information about the svn-ports-all
mailing list