mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
Install zoneinfo--latest.tar.gz with good permissions
Try to import the right module (_winreg not winreg) when using python2 PR: ports/178059 Approved by: maintainer timeout (2 weeks), eadler (mentor)
This commit is contained in:
parent
fae4218f1e
commit
85ba5062a3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=317532
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= dateutil
|
||||
PORTVERSION= 2.1
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
@ -23,7 +23,8 @@ PYDISTUTILS_PKGNAME= python-dateutil
|
||||
|
||||
# Fix incorrect permissions
|
||||
post-patch:
|
||||
@${FIND} ${WRKSRC}/python_dateutil.egg-info -type f -exec ${CHMOD} ${SHAREMODE} {} ";"
|
||||
@${FIND} ${WRKSRC} -type f -exec ${CHMOD} ${SHAREMODE} {} ";"
|
||||
@${REINPLACE_CMD} -e 's|import winreg|from six.moves import winreg|' ${WRKSRC}/dateutil/tzwin.py
|
||||
|
||||
regression-test: build
|
||||
@cd ${WRKSRC} && ${PYTHON_CMD} test.py
|
||||
|
Loading…
Reference in New Issue
Block a user