Commit graph

21 commits

Author SHA1 Message Date
Carlos J. Puga Medina
a1544b1bfd misc/py-socli: Update to 3.7
- Fix runtime dependency with python 2.7
- No need to declare data_files in setup.py
2019-05-28 19:20:17 +00:00
Mathieu Arnold
4376dbbb58 Use PY_FLAVOR for dependencies.
FLAVOR is the current port's flavor, it should not be used outside of
this scope.

Sponsored by:	Absolight
2018-06-20 17:05:41 +00:00
Carlos J. Puga Medina
dcd5685bd2 - Fix WWW in pkg-descr 2018-01-16 14:43:42 +00:00
Mathieu Arnold
551be3c723 Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored.  They will
  automatically get flavors (py27, py34, py35, py36) depending on what
  versions they support.

  There is also a USE_PYTHON=flavors for ports that do not use distutils
  but need FLAVORS to be set.  A USE_PYTHON=noflavors can be set if
  using distutils but flavors are not wanted.

  A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
  added to cope with Python ports that did not have the Python
  PKGNAMEPREFIX but are flavored.

  USES=python now also exports a PY_FLAVOR variable that contains the
  current python flavor.  It can be used in dependency lines when the
  port itself is not python flavored.  For example, deskutils/calibre.

  By default, all the flavors are generated.  To only generate flavors
  for the versions in PYTHON2_DEFAULT and PYTHON3_DEFAULT, define
  BUILD_DEFAULT_PYTHON_FLAVORS in your make.conf.

  In all the ports with Python dependencies, the *_DEPENDS entries MUST
  end with the flavor so that the framework knows which to build/use.
  This is done by appending '@${PY_FLAVOR}' after the origin (or
  @${FLAVOR} if in a Python module with Python flavors, as the content
  will be the same).  For example:

    RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}

PR:		223071
Reviewed by:	portmgr, python
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D12464
2017-11-30 15:50:30 +00:00
Carlos J. Puga Medina
eddc0149a2 misc/py-socli: update to 3.6
- Update PORTVERSION and distinfo checksum (3.6)
- Sort RUN_DEPENDS
- Drop USES=dos2unix because it's no longer necessary
- Cosmetic fixes

Changes: https://github.com/gautamkrishnar/socli/releases/tag/3.6
2017-05-25 17:24:26 +00:00
Carlos J. Puga Medina
42a810d3e7 misc/py-socli: update to 3.5
- Update PORTVERSION and distinfo checksum (3.5)
- Add devel/py-urwid dependency

Changelog: https://github.com/gautamkrishnar/socli/blob/master/CHANGELOG.rst
2017-04-09 11:27:53 +00:00
Carlos J. Puga Medina
441b13dd11 misc/py-socli: update to 3.4
- Update PORTVERSION and distinfo checksum (3.4)
- Add devel/py-stackexchange dependency
2017-03-09 23:52:16 +00:00
Carlos J. Puga Medina
7f9db9dcf4 misc/py-socli: Update to 3.1
- Update PORTVERSION and distinfo checksum (3.1)
2017-02-10 17:17:35 +00:00
Carlos J. Puga Medina
19baf52577 misc/py-socli: Update to 3.0
- Update PORTVERSION and distinfo checksum (3.0)
- Add devel/py-colorama dependency

Changes: https://github.com/gautamkrishnar/socli/releases/tag/3.0
2017-02-01 16:43:33 +00:00
Carlos J. Puga Medina
7315bd6c2a misc/py-socli: Update to 2.9
- Update PORTVERSION and distinfo checksum (2.9)
- Fix minor bugs
2017-01-10 23:33:02 +00:00
Carlos J. Puga Medina
49d7f8a85c misc/py-socli: Update to 2.8
- Update PORTVERSION and distinfo checksum (2.8)

Changelog:
  https://github.com/gautamkrishnar/socli/blob/master/changelog.md

Approved by:	amdmi3 (mentor)
Differential Revision:	D8830
2016-12-20 23:33:40 +00:00
Carlos J. Puga Medina
e836523059 misc/py-socli: Update to 2.5
- Update PORTVERSION and distinfo checksum (2.5)

Changelog:
  https://github.com/gautamkrishnar/socli/releases/tag/2.5

Reviewed by:	koobs (mentor)
Approved by:	feld, koobs (mentors)
Differential Revision:	D8372
2016-10-28 13:59:40 +00:00
Carlos J. Puga Medina
97d13791d4 - Update to 2.4
- Added StackOverflow attribution

Reviewed by:	amdmi3 (mentor)
Approved by:	amdmi3 (mentor)
Differential Revision:	D7546
2016-08-17 12:10:09 +00:00
Carlos J. Puga Medina
98138fbae0 - Update to 2.3
- Remove unneeded patch

Reviewed by:	amdmi3 (mentor)
Approved by:	amdmi3 (mentor)
Differential Revision:	D7233
2016-07-18 17:26:10 +00:00
Carlos J. Puga Medina
bca2c77b6a - 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
2016-07-14 18:29:36 +00:00
Carlos J. Puga Medina
18c1b03686 - Update to 2.1 release
- Fixed bugs on python2
- Added URL support

Reviewed by:	feld (mentor), junovitch (mentor), koobs
Approved by:	feld (mentor), junovitch (mentor), koobs
Differential Revision:	D7133
2016-07-07 23:40:32 +00:00
Carlos J. Puga Medina
2e6e62833e - Update to 1.8 release
- Change USES=python:3 to USES=python because python2 support has been added
- Remove ignore on package buiders

Reviewed by:	feld (mentor)
Approved by:	feld (mentor)
Differential Revision:	D7099
2016-07-05 17:58:37 +00:00
Carlos J. Puga Medina
f39cb8fcde - Bump PORTREVISION
Reported by:	cperciva
Reviewed by:	junovitch (mentor)
Approved by:	junovitch (mentor)
2016-06-26 19:11:44 +00:00
Carlos J. Puga Medina
274e60fb9e - Drop textproc/py-beautifulsoup as dependency because it was removed.
- Add www/py-beautifulsoup to RUN_DEPENDS
- Ignore on the package builders

Reported by:	pkg-fallout
Reviewed by:	junovitch (mentor)
Approved by:	junovitch (mentor)
Differential Revision:	D6971
2016-06-26 19:00:09 +00:00
Carlos J. Puga Medina
87cba28cf7 - Update to 1.7
- Switch to GH
- Update WWW in pkg-descr


- Added new question feature
- Fixed windows color problem
- Intelligent colors
- Added open in browser

Reviewed by:	koobs, junovitch (mentor)
Approved by:	junovitch (mentor)
Differential Revision:	D6964
2016-06-26 12:37:00 +00:00
Carlos J. Puga Medina
83b7a4a98a New port: misc/py-socli
Stack overflow command line client written in python. Using SoCLI you can
search and browse stack overflow without leaving the terminal.

WWW: https://pypi.python.org/pypi/socli/

Submitted by:	me
Reviewed by:	amdmi3, feld (mentors)
Approved by:	amdmi3, feld (mentors)
Differential Revision:	D6939
2016-06-24 23:04:24 +00:00