Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Apr 2018 07:17:09 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r466282 - head/mail/py-afew
Message-ID:  <201804030717.w337H9vj071318@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Tue Apr  3 07:17:09 2018
New Revision: 466282
URL: https://svnweb.freebsd.org/changeset/ports/466282

Log:
  mail/py-afew: Update 1.2.0 -> 1.3.0
  
  Port changes:
  * Minor correction in COMMENT
  * Add LICENSE_FILE
  * Update RUN_DEPENDS
  * Add USE_PYTHON=noflavors
  * Add NO_ARCH
  * Add DOCS option
  * Add the patch fixing docs build
  
  PR:		225743
  Submitted by:	Sebastian Schwarz <seschwar@gmail.com> (maintainer)

Modified:
  head/mail/py-afew/Makefile
  head/mail/py-afew/distinfo

Modified: head/mail/py-afew/Makefile
==============================================================================
--- head/mail/py-afew/Makefile	Tue Apr  3 07:13:25 2018	(r466281)
+++ head/mail/py-afew/Makefile	Tue Apr  3 07:17:09 2018	(r466282)
@@ -1,42 +1,50 @@
 # $FreeBSD$
 
 PORTNAME=	afew
-DISTVERSION=	1.2.0
+DISTVERSION=	1.3.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=	seschwar@gmail.com
-COMMENT=	Initial tagging script for notmuch mail
+COMMENT=	Initial tagging script for Notmuch mail
 
 LICENSE=	ISCL
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}chardet>=0:textproc/py-chardet@${FLAVOR} \
-	${PYTHON_PKGNAMEPREFIX}notmuch>=0:mail/py-notmuch@${FLAVOR} \
-	notmuch:mail/notmuch
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}chardet>0:textproc/py-chardet@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}dkimpy>0:mail/py-dkimpy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}notmuch>0:mail/py-notmuch@${PY_FLAVOR} \
+		notmuch:mail/notmuch
 
 USES=		python
-USE_PYTHON=	autoplist distutils
+USE_PYTHON=	distutils autoplist noflavors
+NO_ARCH=	yes
 
-OPTIONS_DEFINE=	MANPAGES
+OPTIONS_DEFINE=	MANPAGES DOCS
 OPTIONS_DEFAULT=	MANPAGES
 
+DOCS_BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sphinx>=0:textproc/py-sphinx@${PY_FLAVOR}
 MANPAGES_BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sphinx>=0:textproc/py-sphinx@${FLAVOR}
 MANPAGES_PLIST_FILES=	man/man1/afew.1.gz
 
-NO_ARCH=	yes
+PORTDOCS=	*
 
 post-build-MANPAGES-on:
-	${MAKE} -C ${WRKSRC}/docs SPHINXBUILD=sphinx-build-${PYTHON_VER} man
+	@${MAKE_CMD} -C ${WRKSRC}/docs SPHINXBUILD=sphinx-build-${PYTHON_VER} man
 
 post-install-MANPAGES-on:
-	${INSTALL_MAN} ${WRKSRC}/docs/build/man/afew.1 ${STAGEDIR}${PREFIX}/man/man1/
+	${INSTALL_MAN} ${WRKSRC}/docs/build/man/afew.1 ${STAGEDIR}${PREFIX}/man/man1
 
-.include <bsd.port.pre.mk>
+post-build-DOCS-on:
+	@${MAKE_CMD} -C ${WRKSRC}/docs SPHINXBUILD=sphinx-build-${PYTHON_VER} html
 
-.if ${PYTHON_REL} < 3000
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}subprocess32>=0:devel/py-subprocess32
-.endif
+post-install-DOCS-on:
+	cd ${WRKSRC}/docs/build/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
+	@${RM} ${STAGEDIR}${DOCSDIR}/.buildinfo
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/mail/py-afew/distinfo
==============================================================================
--- head/mail/py-afew/distinfo	Tue Apr  3 07:13:25 2018	(r466281)
+++ head/mail/py-afew/distinfo	Tue Apr  3 07:17:09 2018	(r466282)
@@ -1,3 +1,5 @@
-TIMESTAMP = 1505037424
-SHA256 (afew-1.2.0.tar.gz) = b94cef31f2c740ffa3100dcbb7839d015973a49cdeadde295dd1f751da3a3c88
-SIZE (afew-1.2.0.tar.gz) = 31831
+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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804030717.w337H9vj071318>