databases/py-mysqlclient: pet port
- Change MASTER_SITES from GitHub to CHEESESHOP - Use USE_PYTHON=concurrent instead of setting DOCSDIR manually - Point WWW link to official PyPI page in pkg-descr Submitted by: sunpoet via private mail
This commit is contained in:
parent
51c7f5bf94
commit
5b288975ff
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=529631
3 changed files with 9 additions and 14 deletions
|
@ -4,8 +4,8 @@ PORTNAME= mysqlclient
|
|||
DISTVERSION= 1.4.6
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= databases python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
DISTVERSIONPREFIX= v
|
||||
|
||||
MAINTAINER= fluffy@FreeBSD.org
|
||||
COMMENT= MySQL database connector for Python
|
||||
|
@ -14,21 +14,16 @@ LICENSE= GPLv2
|
|||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
USES= compiler:c11 iconv mysql python ssl
|
||||
USE_PYTHON= distutils autoplist
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= pymysql
|
||||
GH_PROJECT= ${PORTNAME}-python
|
||||
|
||||
CONFLICTS= py*-MySQLdb-[0-9]* py*-MySQLdb5[0-9]-[0-9]* py*-MySQLdb
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
|
||||
PORTDOCS= *
|
||||
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
|
||||
|
||||
CONFLICTS= py*-MySQLdb-[0-9]* py*-MySQLdb5[0-9]-[0-9]* py*-MySQLdb
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README.md ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1578125045
|
||||
SHA256 (pymysql-mysqlclient-python-v1.4.6_GH0.tar.gz) = 19b0f26d50500255b1ad6fdace130a1472fef5a659c5ef706cdc56451aa17a14
|
||||
SIZE (pymysql-mysqlclient-python-v1.4.6_GH0.tar.gz) = 88301
|
||||
TIMESTAMP = 1585398305
|
||||
SHA256 (mysqlclient-1.4.6.tar.gz) = f3fdaa9a38752a3b214a6fe79d7cae3653731a53e577821f9187e67cbecb2e16
|
||||
SIZE (mysqlclient-1.4.6.tar.gz) = 85517
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
MySQL database connector for Python (with Python 3 support).
|
||||
|
||||
WWW: https://github.com/PyMySQL/mysqlclient-python
|
||||
WWW: https://pypi.org/project/mysqlclient
|
||||
|
|
Loading…
Reference in a new issue