Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jul 2018 18:01:45 +0000 (UTC)
From:      Grzegorz Blach <gblach@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r474889 - head/devel/py-mimeparse
Message-ID:  <201807181801.w6II1jbB030598@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gblach
Date: Wed Jul 18 18:01:44 2018
New Revision: 474889
URL: https://svnweb.freebsd.org/changeset/ports/474889

Log:
  - Update to 1.6.0
  - Add LICENSE and LICENSE_FILE
  - Add do-test
  - Take maintainership
  
  PR:		229869

Modified:
  head/devel/py-mimeparse/Makefile
  head/devel/py-mimeparse/distinfo

Modified: head/devel/py-mimeparse/Makefile
==============================================================================
--- head/devel/py-mimeparse/Makefile	Wed Jul 18 17:13:42 2018	(r474888)
+++ head/devel/py-mimeparse/Makefile	Wed Jul 18 18:01:44 2018	(r474889)
@@ -2,17 +2,22 @@
 # $FreeBSD$
 
 PORTNAME=	mimeparse
-PORTVERSION=	0.1.4
+PORTVERSION=	1.6.0
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 DISTNAME=	python-${PORTNAME}-${PORTVERSION}
 
-MAINTAINER=	wg@FreeBSD.org
+MAINTAINER=	gblach@FreeBSD.org
 COMMENT=	Basic functions for handling mime-types in Python
 
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
 USES=		python
 USE_PYTHON=	distutils autoplist
-PYDISTUTILS_EGGINFO=	python_mimeparse-${PORTVERSION}-py${PYTHON_VER}.egg-info
+
+do-test:
+		@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} python${PYTHON_VER} mimeparse_test.py)
 
 .include <bsd.port.mk>

Modified: head/devel/py-mimeparse/distinfo
==============================================================================
--- head/devel/py-mimeparse/distinfo	Wed Jul 18 17:13:42 2018	(r474888)
+++ head/devel/py-mimeparse/distinfo	Wed Jul 18 18:01:44 2018	(r474889)
@@ -1,2 +1,3 @@
-SHA256 (python-mimeparse-0.1.4.tar.gz) = 3c69a21e37e77f754e6fc09ebda70acd92c90d8a58f29a41cc0248351378ddc3
-SIZE (python-mimeparse-0.1.4.tar.gz) = 5228
+TIMESTAMP = 1531934853
+SHA256 (python-mimeparse-1.6.0.tar.gz) = 76e4b03d700a641fd7761d3cd4fdbbdcd787eade1ebfac43f877016328334f78
+SIZE (python-mimeparse-1.6.0.tar.gz) = 6541



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