head	1.5;
access;
symbols;
locks; strict;
comment	@# @;


1.5
date	2013.02.09.15.59.54;	author svnexp;	state Exp;
branches;
next	1.4;

1.4
date	2012.11.25.19.35.26;	author svnexp;	state Exp;
branches;
next	1.3;

1.3
date	2012.11.17.18.23.04;	author svnexp;	state Exp;
branches;
next	1.2;

1.2
date	2012.11.17.06.03.01;	author svnexp;	state Exp;
branches;
next	1.1;

1.1
date	2012.06.06.11.24.56;	author miwi;	state Exp;
branches;
next	;


desc
@@


1.5
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/311983
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: Kubilay Kocak <koobs@@FreeBSD.org>
# $FreeBSD: head/www/py-slumber/Makefile 311983 2013-02-09 14:50:27Z koobs $

PORTNAME=	slumber
PORTVERSION=	0.5.1
PORTREVISION=	1
CATEGORIES=	www python
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	koobs@@FreeBSD.org
COMMENT=	Python library that makes consuming a REST API easier

LICENSE=	BSD

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}requests>0:${PORTSDIR}/www/py-requests

OPTIONS_DEFINE=		YAML
YAML_DESC=		Enable YAML serializer support
OPTIONSFILE?=		${PORT_DBDIR}/py-${PORTNAME}/options

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MYAML}
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}yaml>0:${PORTSDIR}/devel/py-yaml
.endif

USE_GITHUB=		yes
USE_PYTHON=		yes
USE_PYDISTUTILS=	easy_install

GH_ACCOUNT=	dstufft
GH_COMMIT=	e5bde78
GH_TAGNAME=	v${DISTVERSION}

TEST_DEPENDS:=	${RUN_DEPENDS} \
		${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock

regression-test: build
	@@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test

.include <bsd.port.mk>
@


1.4
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 307754
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r307754 | rm | 2012-11-25 19:25:37 +0000 (Sun, 25 Nov 2012) | 12 lines
## SVN ##
## SVN ## - add YAML option
## SVN ## - bump PORTREVISION because of dependencies change
## SVN ## - use GITHUB mastersite instead of CHEESESHOP
## SVN ## - switch to setuptools, update pkg-plist accordingly
## SVN ## - remove setup.py patch
## SVN ## - add TEST_DEPENDS and regression-test target
## SVN ## - fix typo in Makefile header: s/Creates by/Created by
## SVN ##
## SVN ## PR:		173903
## SVN ## Submitted by:	Kubilay Kocak <koobs.freebsd at gmail dot com> (maintainer)
## SVN ## Feature safe:	yes
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 2
a2 2
# Created by: Kubilay Kocak <koobs.freebsd@@gmail.com>
# $FreeBSD: head/www/py-slumber/Makefile 307754 2012-11-25 19:25:37Z rm $
d10 1
a10 1
MAINTAINER=	koobs.freebsd@@gmail.com
@


1.3
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 307379
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r307379 | rm | 2012-11-13 15:11:37 +0000 (Tue, 13 Nov 2012) | 13 lines
## SVN ##
## SVN ## - update to 0.5.1
## SVN ## - trim Makefile header
## SVN ## - whitespace alignment
## SVN ##
## SVN ## while here:
## SVN ## - remove indefinite article from COMMENT
## SVN ## - remove redundant LICENSE_FILE
## SVN ## - tab -> space change in pkg-descr:WWW
## SVN ##
## SVN ## PR:		173528
## SVN ## Submitted by:	Kubilay Kocak <koobs.freebsd at gmail dot com> (maintainer)
## SVN ## Feature safe:	yes
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 2
a2 2
# Creates by: Kubilay Kocak <koobs.freebsd@@gmail.com>
# $FreeBSD: head/www/py-slumber/Makefile 307379 2012-11-13 15:11:37Z rm $
d6 1
a7 1
MASTER_SITES=	CHEESESHOP
d17 11
d29 11
a39 1
USE_PYDISTUTILS=	yes
@


1.2
log
@Switch exporter over
@
text
@d1 2
a2 6
# New ports collection makefile for:	py-slumber
# Date created:		2012-06-02
# Whom:			koobs <koobs.freebsd@@gmail.com>
#
# $FreeBSD: head/www/py-slumber/Makefile 300897 2012-07-14 14:29:18Z beat $
#
d5 1
a5 1
PORTVERSION=	0.4.2
d11 1
a11 1
COMMENT=	A Python library that makes consuming a REST API easier
a13 1
LICENSE_FILE=	${WRKSRC}/LICENSE.txt
d17 2
a18 2
USE_PYTHON=	yes
USE_PYDISTUTILS=yes
@


1.1
log
@Slumber is a python library that provides a convenient yet powerful object
orientated interface to ReSTful APIs. It acts as a wrapper around the
excellent requests_ library and abstracts away the handling of urls,
serialization, and processing requests.

WWW:	http://slumber.in/

PR:		ports/168557
Submitted by:	koobs <koobs.freebsd@@gmail.com>
@
text
@d5 1
a5 1
# $FreeBSD$
@

