1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

- 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
This commit is contained in:
Carlos J. Puga Medina 2016-07-14 18:29:36 +00:00
parent 45e86809f1
commit bca2c77b6a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=418551
3 changed files with 27 additions and 5 deletions

View File

@ -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

View File

@ -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

View File

@ -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
)