aboutsummaryrefslogtreecommitdiff
path: root/mail/py-afew
diff options
context:
space:
mode:
Diffstat (limited to 'mail/py-afew')
-rw-r--r--mail/py-afew/Makefile16
-rw-r--r--mail/py-afew/distinfo8
2 files changed, 9 insertions, 15 deletions
diff --git a/mail/py-afew/Makefile b/mail/py-afew/Makefile
index a29dbac94197..094adc474ee9 100644
--- a/mail/py-afew/Makefile
+++ b/mail/py-afew/Makefile
@@ -1,15 +1,11 @@
# $FreeBSD$
PORTNAME= afew
-DISTVERSION= 1.3.0
-PORTREVISION= 3
+DISTVERSION= 3.0.0
CATEGORIES= mail python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-PATCH_SITES= https://github.com/afewmail/${PORTNAME}/commit/
-PATCHFILES= 1d290ab4d631fdcec60b79fd3a4f873e774adac2.patch:-p1 # fix of the documentation build
-
MAINTAINER= dbaio@FreeBSD.org
COMMENT= Initial tagging script for Notmuch mail
@@ -22,7 +18,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}chardet>0:textproc/py-chardet@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}notmuch>0:mail/py-notmuch@${PY_FLAVOR} \
notmuch:mail/notmuch
-USES= python
+USES= python:3.6+
USE_PYTHON= distutils concurrent autoplist
NO_ARCH= yes
@@ -36,16 +32,16 @@ MANPAGES_PLIST_FILES= man/man1/afew.1.gz
PORTDOCS= *
post-build-MANPAGES-on:
- @${MAKE_CMD} -C ${WRKSRC}/docs SPHINXBUILD=sphinx-build-${PYTHON_VER} man
+ cd ${WRKSRC} && ${PYTHON_CMD} setup.py build_sphinx -b man
post-install-MANPAGES-on:
- ${INSTALL_MAN} ${WRKSRC}/docs/build/man/afew.1 ${STAGEDIR}${PREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/build/sphinx/man/afew.1 ${STAGEDIR}${PREFIX}/man/man1
post-build-DOCS-on:
- @${MAKE_CMD} -C ${WRKSRC}/docs SPHINXBUILD=sphinx-build-${PYTHON_VER} html
+ cd ${WRKSRC} && ${PYTHON_CMD} setup.py build_sphinx -b html
post-install-DOCS-on:
- cd ${WRKSRC}/docs/build/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC}/build/sphinx/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
@${RM} ${STAGEDIR}${DOCSDIR}/.buildinfo
.include <bsd.port.mk>
diff --git a/mail/py-afew/distinfo b/mail/py-afew/distinfo
index ab47d0129e2d..f88adc9272bd 100644
--- a/mail/py-afew/distinfo
+++ b/mail/py-afew/distinfo
@@ -1,5 +1,3 @@
-TIMESTAMP = 1522736217
-SHA256 (afew-1.3.0.tar.gz) = ff790342fccd2a83e8e23bd508c16ca93bbab5eabd8132fec272de492b7d0504
-SIZE (afew-1.3.0.tar.gz) = 33361
-SHA256 (1d290ab4d631fdcec60b79fd3a4f873e774adac2.patch) = f483fe1f865a69ced5a9637d3e2b92abffaf42ff798a41b4fc569668aabc0c2b
-SIZE (1d290ab4d631fdcec60b79fd3a4f873e774adac2.patch) = 5486
+TIMESTAMP = 1597266182
+SHA256 (afew-3.0.0.tar.gz) = ec60b8587ffb286da8c5831e5da0378b8df3642a5164e667665453c8beef43a2
+SIZE (afew-3.0.0.tar.gz) = 36525