1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00
freebsd-ports/databases/py-Elixir/Makefile
Nicola Vitale 323c87d50a A declarative layer on top of SQLAlchemy. It is a fairly thin wrapper, which
provides the ability to define model objects following the Active Record
design pattern, and using a DSL syntax similar to that of the Ruby on Rails
ActiveRecord system.

Elixir does not intend to replace SQLAlchemy's core features, but instead
focuses on providing a simpler syntax for defining model objects when you do
not need the full expressiveness of SQLAlchemy's manual mapper definitions.

Elixir is intended to replace the ActiveMapper SQLAlchemy extension, and the
TurboEntity project.

WWW:	http://elixir.ematia.de
2007-02-13 16:19:04 +00:00

43 lines
1.2 KiB
Makefile

# New ports collection makefile for: py-Elixir
# Date created: 2007-02-13
# Whom: Nicola Vitale <nivit@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Elixir
PORTVERSION= 0.1.0
#PORTREVISION= 0
#PORTEPOCH= 0
CATEGORIES= databases python
MASTER_SITES= http://cheeseshop.python.org/packages/source/E/Elixir/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= nivit@FreeBSD.org
COMMENT= Declarative Mapper for SQLAlchemy
BUILD_DEPENDS= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools
RUN_DEPENDS= ${BUILD_DEPENDS}
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/${PYALCHEMY_EGG}:${PORTSDIR}/databases/py-sqlalchemy
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_BUILD_TARGET= bdist_egg
PYDISTUTILS_INSTALL_TARGET= easy_install
PYDISTUTILS_INSTALLARGS= -O 1 -N -S ${PYTHON_SITELIBDIR} ${WRKSRC}/dist/${PYELIXIR_EGG}
PLIST_SUB+= EASY_INSTALL_CMD=${EASY_INSTALL_CMD} \
PYELIXIR_EGG=${PYELIXIR_EGG} \
PYELIXIR_EGG_VER="${PORTNAME}==${PORTVERSION}"
PYELIXIR_EGG= ${PORTNAME}-${PORTVERSION}-py${PYTHON_VER}.egg
EASY_INSTALL_CMD?= easy_install-${PYTHON_VER}
.include <bsd.port.pre.mk>
PYALCHEMY_EGG!= ${MAKE} -f ${PORTSDIR}/databases/py-sqlalchemy/Makefile -V PYALCHEMY_EGG
.include <bsd.port.post.mk>