ports/183862: [PATCH] net/py-gspreadsheet: Use easy_install, correct optionsfile
Johannes Jost Meixner
xmj at chaot.net
Mon Nov 11 15:10:03 UTC 2013
>Number: 183862
>Category: ports
>Synopsis: [PATCH] net/py-gspreadsheet: Use easy_install, correct optionsfile
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Mon Nov 11 15:10:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Johannes Jost Meixner
>Release: FreeBSD 11.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD mx12.chaot.net 11.0-CURRENT FreeBSD 11.0-CURRENT #3: Thu Nov 7 16:08:22 EET
>Description:
- Use easy_install like upstream, now that there's staging support for it
- Add OPTIONSFILE for python version independence
Generated with FreeBSD Port Tools 0.99_8 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:
--- py27-gspreadsheet-0.3.0.patch begins here ---
diff -ruN /usr/ports/net/py-gspreadsheet/Makefile ./Makefile
--- /usr/ports/net/py-gspreadsheet/Makefile 2013-10-29 20:10:58.000000000 +0200
+++ ./Makefile 2013-11-11 17:04:00.902188891 +0200
@@ -1,5 +1,5 @@
# Created by: Johannes Meixner <xmj at chaot.net>
-# $FreeBSD: net/py-gspreadsheet/Makefile 331977 2013-10-29 18:10:58Z nemysis $
+# $FreeBSD: head/net/py-gspreadsheet/Makefile 331977 2013-10-29 18:10:58Z nemysis $
PORTNAME= gspreadsheet
PORTVERSION= 0.3.0
@@ -13,13 +13,15 @@
LICENSE= AL2
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gdata>0:${PORTSDIR}/devel/py-gdata
+
USE_PYTHON= 2.7
-USE_PYDISTUTILS= yes
+USE_PYDISTUTILS= easy_install
PYDISTUTILS_AUTOPLIST= yes
PORTDOCS= README.rst
OPTIONS_DEFINE= DOCS
+OPTIONSFILE?= ${PORT_DBDIR}/py-${PORTNAME}/options
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
diff -ruN /usr/ports/net/py-gspreadsheet/files/patch-setup.py ./files/patch-setup.py
--- /usr/ports/net/py-gspreadsheet/files/patch-setup.py 2013-10-29 20:10:58.000000000 +0200
+++ ./files/patch-setup.py 1970-01-01 03:00:00.000000000 +0300
@@ -1,8 +0,0 @@
---- ./setup.py.orig 2013-10-29 16:50:19.871040385 +0200
-+++ ./setup.py 2013-10-29 16:51:00.781040301 +0200
-@@ -1,4 +1,4 @@
--from setuptools import setup
-+from distutils.core import setup
-
- with open('README.rst') as f:
- long_description = f.read()
--- py27-gspreadsheet-0.3.0.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list