1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

www/py-requests1: Copy from www/requests so we can upgrade to 2.x

Copy www/requests -> www/requests1 so we can update the main port to
version 2.x. Next commit will sweep all dependants.

While I'm here:

- Enable STAGE support
- Enable AUTOPLIST
- Deprecate easy_install target
- Add CONFLICTS
- Tweak COMMENT

PR:		ports/185631
This commit is contained in:
Kubilay Kocak 2014-01-27 12:05:33 +00:00
parent 47275c3f45
commit 6e178f3944
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=341384
4 changed files with 46 additions and 0 deletions

View File

@ -1665,6 +1665,7 @@
SUBDIR += py-rackspace-monitoring
SUBDIR += py-recaptcha
SUBDIR += py-requests
SUBDIR += py-requests1
SUBDIR += py-requests-oauth-hook
SUBDIR += py-requests-oauthlib
SUBDIR += py-restclient

24
www/py-requests1/Makefile Normal file
View File

@ -0,0 +1,24 @@
# Created by: Olivier Duchateau <duchateau.olivier@gmail.com>
# $FreeBSD$
PORTNAME= requests1
PORTVERSION= 1.2.3
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= koobs@FreeBSD.org
COMMENT= HTTP library written in Python for human beings (Version 1.x)
LICENSE= ISCL
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
CONFLICTS_INSTALL= py*-requests-*
regression-test: build
@cd ${WRKSRC} && ${PYTHON_CMD} test_requests.py
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (requests-1.2.3.tar.gz) = 156bf3ec27ba9ec7e0cf8fbe02808718099d218de403eb64a714d73ba1a29ab1
SIZE (requests-1.2.3.tar.gz) = 348854

View File

@ -0,0 +1,19 @@
Requests is an ISC Licensed HTTP library, written in Python, for human beings.
Features
- International Domains and URLs
- Keep-Alive & Connection Pooling
- Sessions with Cookie Persistence
- Browser-style SSL Verification
- Basic/Digest Authentication
- Elegant Key/Value Cookies
- Automatic Decompression
- Unicode Response Bodies
- Multipart File Uploads
- Connection Timeouts
- .netrc support
- Python 2.6-3.3
- Thread-safe
WWW: http://python-requests.org/