aboutsummaryrefslogtreecommitdiffstats
path: root/misc/py-socli/Makefile
blob: 9fbcfa9fdeaf1400dde2cc590709c05cf80674cf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Created by: Carlos J. Puga Medina <cpm@FreeBSD.org>
# $FreeBSD$

PORTNAME=   socli
PORTVERSION=    1.7
CATEGORIES= misc python
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= cpm@FreeBSD.org
COMMENT=    Stack overflow command line interface

LICENSE=    BSD3CLAUSE
LICENSE_FILE=   ${WRKSRC}/LICENSE

RUN_DEPENDS=    ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=0:www/py-beautifulsoup \
        ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests

USES=       python:3
USE_GITHUB= yes
USE_PYTHON= autoplist distutils

GH_ACCOUNT= gautamkrishnar

NO_ARCH=    yes

.include <bsd.port.pre.mk>

.if defined(PACKAGE_BUILDING) && ${PYTHON_VER} != ${PYTHON_DEFAULT}
IGNORE= you have python ${PYTHON_DEFAULT} set as the default, and this needs ${PYTHON_VER}
.endif

.include <bsd.port.post.mk>