1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/www/py-imdbpy/Makefile
Matthew Seaman d91eb811d5 Reorganise and modernise the py-sqlalchemy ports.
- Introduce new ports for the sqlalchemy 0.9 and 1.0 release branches.
 - Deprecate the ports for the 0.6 and 0.7 release branches, as these
   have been declared EoL and are no longer supported by upstream.
 - Update to the latest available version in each branch.

In detail:

   Port                 Version Maintainer
   ----------------------------------------------
   py-sqlalchemy06      0.6.9   nivit@FreeBSD.org (Deprecate 2016-08-20) [1]
   py-sqlalchemy07      0.7.10  nivit@FreeBSD.org (renamed py-sqlalchemy, Deprecate 2016-08-20) [1]
   py-sqlalchemy08      0.8.7   nivit@FreeBSD.org (renamed py-sqlalchemy-devel) [1]
   py-sqlalchemy09      0.9.10  m.tsatsenko@gmail.com (new, repocopy from py-sqlalchemy-devel) [2]
   py-sqlalchemy10      1.0.13  m.tsatsenko@gmail.com (new, repocopy from py-sqlalchemy-devel) [2]

 - Use options-helpers and option dependent make targets.
 - Use autoplist for documents as well as python code
 - Add all the docments to the packages: previously an arbitrary
   subset was added in a way that excluded CSS, images and other HTML
   assets.
 - Use TEST_DEPENDS and add a TEST_TARGET instead of having a 'TEST'
   option.
 - Use py-pytest for 0.9.x and later, rather than py-nose.
 - Add CONFLICTS_INSTALL between all of the py-sqlalchemyXY ports.

PR:		191442
Submitted by:	robak
Reviewed by:	robak
Reviewed by:	pi
Approved by:	nivit (maintainer timeout, ~300days) [1]
Approved by:    m.tsatsenko@gmail.com (maintainer) [2]
Sponsored by:	https://reviews.freebsd.org/D908
2016-05-22 10:52:44 +00:00

36 lines
946 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= imdbpy
PORTVERSION= 5.0
PORTREVISION= 1
CATEGORIES= www python
MASTER_SITES= SF/${PORTNAME}/IMDbPY/${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= IMDbPY-${PORTVERSION}
MAINTAINER= python@FreeBSD.org
COMMENT= Retrieve and manage the data of the IMDb movie database
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml \
${PYTHON_PKGNAMEPREFIX}sqlalchemy-migrate>=0.6.1:databases/py-sqlalchemy-migrate \
${PYTHON_PKGNAMEPREFIX}sqlalchemy07>=0:databases/py-sqlalchemy07 \
${PYTHON_PKGNAMEPREFIX}sqlobject>=0:databases/py-sqlobject
OPTIONS_DEFINE= DOCS
USES= python:2 shebangfix
SHEBANG_FILES= docs/goodies/reduce.sh
USE_PYTHON= distutils autoplist
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}/
cd ${WRKSRC}/docs/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>