Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jul 2016 18:29:37 +0000 (UTC)
From:      "Carlos J. Puga Medina" <cpm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r418551 - in head/misc/py-socli: . files
Message-ID:  <201607141829.u6EITbCF030471@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cpm
Date: Thu Jul 14 18:29:36 2016
New Revision: 418551
URL: https://svnweb.freebsd.org/changeset/ports/418551

Log:
  - Update to 2.2
  - Add USES=dos2unix
  - Add patch to don't show README.rst content while socli is building.
  - Added tag based search
  
  Reviewed by:	feld (mentor)
  Approved by:	feld (mentor)
  Differential Revision:	D7205

Added:
  head/misc/py-socli/files/
  head/misc/py-socli/files/patch-setup.py   (contents, props changed)
Modified:
  head/misc/py-socli/Makefile
  head/misc/py-socli/distinfo

Modified: head/misc/py-socli/Makefile
==============================================================================
--- head/misc/py-socli/Makefile	Thu Jul 14 18:25:21 2016	(r418550)
+++ head/misc/py-socli/Makefile	Thu Jul 14 18:29:36 2016	(r418551)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	socli
-PORTVERSION=	2.1
+PORTVERSION=	2.2
 CATEGORIES=	misc python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -15,7 +15,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}beautifulsoup>=0:www/py-beautifulsoup \
 		${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests
 
-USES=		python
+USES=		dos2unix python
 USE_GITHUB=	yes
 USE_PYTHON=	autoplist concurrent distutils
 

Modified: head/misc/py-socli/distinfo
==============================================================================
--- head/misc/py-socli/distinfo	Thu Jul 14 18:25:21 2016	(r418550)
+++ head/misc/py-socli/distinfo	Thu Jul 14 18:29:36 2016	(r418551)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1467887360
-SHA256 (gautamkrishnar-socli-2.1_GH0.tar.gz) = bb434cf4d1cc8ab6024e3a72e1b0fa94a65290a53e9ecb2c979f64097dea9545
-SIZE (gautamkrishnar-socli-2.1_GH0.tar.gz) = 8432
+TIMESTAMP = 1468407712
+SHA256 (gautamkrishnar-socli-2.2_GH0.tar.gz) = 5db04565dbc6a7469e502032cd729415407f9056581d04e15c37f00125f33a86
+SIZE (gautamkrishnar-socli-2.2_GH0.tar.gz) = 10458

Added: head/misc/py-socli/files/patch-setup.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/py-socli/files/patch-setup.py	Thu Jul 14 18:29:36 2016	(r418551)
@@ -0,0 +1,22 @@
+--- setup.py.orig	2016-07-13 11:25:00 UTC
++++ setup.py
+@@ -10,12 +10,6 @@ if version < '1.0.0':
+     print("Python 1 is not supported...")
+     sys.exit(1)
+ 
+-here = path.abspath(path.dirname(__file__))
+-with open(path.join(here, 'README.rst'), "rb") as f:
+-    longd = f.read().decode("utf-8")
+-print(longd)
+-
+-
+ setup(
+     name='socli',
+     packages=["socli"],
+@@ -29,5 +23,5 @@ setup(
+     author='Gautam krishna R',
+     author_email='r.gautamkrishna@gmail.com',
+     description='Stack overflow commnand line interface. SoCLI allows you to search and browse stack overfow from the terminal.',
+-    long_description=longd
++    long_description=long
+     )



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201607141829.u6EITbCF030471>