Commit graph

217465 commits

Author SHA1 Message Date
rodent
5cfe692902 Import py27-python-mimeparse-0.1.4 as www/py-python-mimeparse.
A module provides basic functions for parsing mime-type names and matching them
against a list of media-ranges.

This module provides basic functions for handling mime-types. It can handle
matching mime-types against a list of media-ranges. See section 14.1 of the HTTP
specification [RFC 2616] for a complete explanation:

http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.1

Contents:

 * parse_mime_type(): Parses a mime-type into its component parts.
 * parse_media_range(): Media-ranges are mime-types with wild-cards and a "q"
   quality parameter.
 * quality(): Determines the quality ("q") of a mime-type when compared against
   a list of media-ranges.
 * quality_parsed(): Just like quality() except the second parameter must be
   pre-parsed.
 * best_match(): Choose the mime-type with the highest quality ("q") from a list
   of candidates.
2014-06-02 03:19:30 +00:00
schmonz
35cb75e006 Updated devel/p5-IO-Tty to 1.11 2014-06-02 03:05:13 +00:00
dholland
211a94e351 Put the version numbers back in COMMENT as they were put in by
explicit request a while back. (But use the current version.)
PR 48845.

I don't remember the PR number for the original request but it can be
tracked down if necessary.
2014-06-02 02:31:55 +00:00
schmonz
9d5243aca4 Fix perl5.20 build on some versions of OS X, NetBSD, OpenBSD. Patch
from <https://github.com/toddr/IO-Tty/pull/3/commits>.
2014-06-02 02:14:10 +00:00
rodent
cc1b3597e0 Updated security/py-stix to 1.1.1.0 2014-06-02 00:24:40 +00:00
rodent
c536b28407 Use pypi as MASTER_SITE and stop using so much shaman magick in the
Makefile. Updated to 1.1.1.0. Changes:

Version 1.1.1.0
2014-05-09
- Support for STIX v1.1.1
- Updated all schemalocations to reference new STIX v1.1.1 schemas
- Changed Confidence.source to be of type InformationSource
- Changed Statement.source to be of type InformationSource
- Changed Sighting.source to be of type InformationSource
- Updated AvailabilityLossType CV to align with STIX v1.1.1
2014-06-02 00:24:24 +00:00
rodent
f2cce6bd8c +py-magic - packaged originally in -wip by khorben@ 2014-06-02 00:14:01 +00:00
rodent
265fb23f6c Added sysutils/py-magic version 0.4.6 2014-06-02 00:13:11 +00:00
rodent
951a287709 Import py27-magic-0.4.6 as sysutils/py-magic.
This module uses ctypes to access the libmagic file type identification
library. It makes use of the local magic database and supports both textual and
MIME-type output.
2014-06-02 00:12:59 +00:00
rodent
6f8dbfa4bb Updated devel/py-pyparsing to 2.0.2 2014-06-02 00:07:52 +00:00
rodent
4c448eb50b ==========
Change Log
==========

Version 2.0.2 - April, 2014
---------------------------
- Extended "expr(name)" shortcut (same as "expr.setResultsName(name)")
  to accept "expr()" as a shortcut for "expr.copy()".
- Added "locatedExpr(expr)" helper, to decorate any returned tokens
  with their location within the input string. Adds the results names
  locn_start and locn_end to the output parse results.
- Added "pprint()" method to ParseResults, to simplify troubleshooting
  and prettified output. Now instead of importing the pprint module
  and then writing "pprint.pprint(result)", you can just write
  "result.pprint()".  This method also accepts addtional positional and
  keyword arguments (such as indent, width, etc.), which get passed
  through directly to the pprint method
  (see http://docs.python.org/2/library/pprint.html#pprint.pprint).
- Removed deprecation warnings when using '<<' for Forward expression
  assignment. '<<=' is still preferred, but '<<' will be retained
  for cases whre '<<=' operator is not suitable (such as in defining
  lambda expressions).
- Expanded argument compatibility for classes and functions that
  take list arguments, to now accept generators as well.
- Extended list-like behavior of ParseResults, adding support for
  append and extend. NOTE: if you have existing applications using
  these names as results names, you will have to access them using
  dict-style syntax: res["append"] and res["extend"]
- ParseResults emulates the change in list vs. iterator semantics for
  methods like keys(), values(), and items(). Under Python 2.x, these
  methods will return lists, under Python 3.x, these methods will
  return iterators.
- ParseResults now has a method haskeys() which returns True or False
  depending on whether any results names have been defined. This simplifies
  testing for the existence of results names under Python 3.x, which
  returns keys() as an iterator, not a list.
- ParseResults now supports both list and dict semantics for pop().
  If passed no argument or an integer argument, it will use list semantics
  and pop tokens from the list of parsed tokens. If passed a non-integer
  argument (most likely a string), it will use dict semantics and
  pop the corresponding value from any defined results names. A
  second default return value argument is supported, just as in
  dict.pop().
- Fixed bug in markInputline, thanks for reporting this, Matt Grant!
- Cleaned up my unit test environment, now runs with Python 2.6 and
  3.3.
--------------------------
2014-06-02 00:07:40 +00:00
rodent
907cb90fb2 +py-pydeep 2014-06-02 00:00:58 +00:00
rodent
b7d889c1ff Added security/py-pydeep version 0.2 2014-06-02 00:00:26 +00:00
rodent
98da58760b Import py27-pydeep-0.2 as security/py-pydeep.
Python/C bindings for the ssdeep library at http://ssdeep.sourceforge.net:

 * hash_buf / hash_bytes - returns the ssdeep hash for a given buffer
 * hash_file - returns the ssdeep hash for filepath
 * compare - returns the % match between 2 hashes

import pydeep
pydeep.hash_buf('somedata')
pydeep.hash_file('path-to-file')
pydeep.compare('hash1','hash2')
2014-06-02 00:00:15 +00:00
rodent
767a3edb23 Updated security/ssdeep to 2.10 2014-06-01 23:57:10 +00:00
rodent
9976064dc5 ** Version 2.10 - 17 Jul 2013
* New Features
  - Fuzzy Hashing engine re-written to be thread safe.
* Bug Fixes
  - Able to handle long file paths on Win32.
  - Fixed bug on comparing signatures with the same block size.
  - Fixed crash on comparing short signatures.
  - Fixed memory leak
2014-06-01 23:56:56 +00:00
rodent
90acec7edd Updated security/py-m2crypto to 0.22.3 2014-06-01 23:51:37 +00:00
rodent
e2c0255fa1 Updated to 0.22.3. No ChangeLog. Remove python/extension.mk from Makefile,
since egg.mk includes that. PGP module seems to have been removed from
package.
2014-06-01 23:51:25 +00:00
rodent
e83258a3e7 CATEGORIES+=python 2014-06-01 23:34:08 +00:00
rodent
4d9b9a53fd +py-defusedxml 2014-06-01 23:27:38 +00:00
rodent
ce8d3ba979 Added textproc/py-defusedxml version 0.4.1 2014-06-01 23:26:43 +00:00
rodent
4beeccb9d9 Import py27-defusedxml-0.4.1 as textproc/py-defusedxml.
XML bomb protection for Python stdlib modules.
2014-06-01 23:26:30 +00:00
asau
5d956b0af9 FreeBSD uses NetBSD-derived nsdispatch.
Cram FreeBSD support in with some force using some knowledge
picked from FreeBSD ports collection.
Not yet tested in field.
2014-06-01 19:38:10 +00:00
asau
32205e752f Updated lang/sbcl to 1.2.0 2014-06-01 18:57:39 +00:00
asau
7b2181068a Update to SBCL 1.2.0
changes in sbcl-1.2.0 relative to sbcl-1.1.18:
  * bug fix: read-time-eval backquote context mixup. (lp#1321047)
  * enhancement: when SAVE-LISP-AND-DIE fails due multiple threads, the
    report of the signaled conditions lists currently running threads.
  * enhancement: ported to ARM linux.
  * enhancement: sb-gmp contrib has been updated. (lp#1305266)
  * enhancement: new contrib sb-mpfr by Stephan Frank.
  * bug fix: MAKE-SEQUENCE works with sequence types defined via DEFTYPE
    (lp#1315846, thanks to Mark Cox)
  * bug fix: SET-[DISPATCH-]MACRO-CHARACTER should coerce a symbolic
    function-designator to a function only as needed. (lp#1012335)
  * bug fix: remove references to asdf-install from the manual.  (lp#1207544,
    thanks to Thomas Hlavaty)
  * bug fix: handle --without-xxx options to make.sh more carefully.
    (lp#1246665, thanks to Richard M Kreuter)
  * bug fix: prevent maybe-delete-exit from doing semantically broken things
    with local exits. (lp#309099, lp#518099, lp#533930)
  * bug fix: attempts to subclass BUILT-IN-CLASSes signal errors, as required
    by AMOP.  (lp#861004)
2014-06-01 18:55:59 +00:00
wiz
6e4c8dab77 Use default font path. Bump PKGREVISION. 2014-06-01 18:47:24 +00:00
wiz
f747d5d522 Update font path reference. Bump PKGREVISION. 2014-06-01 17:56:57 +00:00
wiz
003fce2dae Update font path references. Bump PKGREVISION. 2014-06-01 17:55:33 +00:00
tsutsui
dd23eb87af Updated www/ruby-http version 0.6.0
Updated net/ruby-twitter to 5.9.0
Updated net/ruby-tw to 1.0.9
2014-06-01 17:09:19 +00:00
tsutsui
b292021438 Update ruby-tw to 1.0.9.
Changelog (from History.txt)

=== 1.0.9 2014-05-14

* merge multiple lines from STDIN into one tweet
2014-06-01 17:05:58 +00:00
tsutsui
55aaf78950 Update ruby-twitter to 5.9.0.
Changelog (per CHANGELOG.md):

5.9.0
-----
* [Use expanded URIs when available]
* [Deprecate `Twitter::REST::Client#middleware=` and `#connection_options`]
* [Ensure predicate methods return `false` for `Twitter::NullObject`]
* [Make `Twitter::Place#id` attribute accessible]
* [Enable injection of custom TCP/SSL socket classes]
* [Deprecate predicate methods without question marks]
* [Deprecate `Twitter::Base#[]`]
* [Remove statement that TweetStream is not 2.0.0-compatible]
* [Dont allow unacceptable IO objects in `Twitter::REST::Client#update_with_media`]
* [Add support for new REST API endpoint for bulk lookup of Tweets by ID]
* [Make the streaming API raise exceptions for status codes]
* [Call GET users/show if screen name has already been fetched]
* [Add the ability to set user_agent and proxy]
* [Use (immutable) user ID instead of (mutable) screen name]
* [Implement mute functionality]

5.8.0
-----
* [Alias `Twitter::Tweet#reply?` to `Twitter::Tweet#in_reply_to_user_id?`]
* [Add `Twitter::Error::SSL_REQUIRED` error code]
* [`Twitter::Tweet#retweeted_status` always returns the original tweet, not the retweet]
2014-06-01 17:04:15 +00:00
tsutsui
e0e8363c35 Umm, revert previous. (wrong commit log) 2014-06-01 16:59:13 +00:00
wiz
1dbe2ff771 Add pkgsrc default font path to default search paths.
Bump PKGREVISION.
2014-06-01 16:58:21 +00:00
wiz
43b4ee8119 Update default font path reference. 2014-06-01 16:56:47 +00:00
wiz
164b86411d Install fonts into default installation path. Bump PKGREVISION. 2014-06-01 16:52:08 +00:00
tsutsui
1758a3fcc4 Update ruby-twitter to 5.7.1.
Changelog (from CHANGELOG.md)

5.7.1
-----
* [Only warn if entities are not included](82ed19e69c) ([@matthewrudy](https://twitter.com/matthewrudy))
* [Fix typos in documentation](https://github.com/sferik/twitter/pull/531) ([@attilaolah](https://twitter.com/attilaolah))

5.7.0
-----
* [Remove `Twitter::Base.from_response` method](6f9a352ada)
* [Remove `Twitter::REST::API` namespace](f9c4e8214b)
* [Remove `descendants_tracker`](4cbcb0fc58)
* [Remove unused `HTTP_STATUS_CODE` constants](b45d89bc96)
* [Remove `Twitter::Error#cause`](a5748b925a)

5.6.0
-----
* [Replace custom `Twitter::NullObject` with `Naught`](bc3990e358)
* [Use `URI` and `CGI` to convert query string into a hash](6dd9d97aae)
* [Increase default timeout values](350536926d)
* [Add `Twitter::Error::RequestTimeout`](3179537af4)
* [Remove unused methods `#put` and `#delete` in `Twitter::REST::Client`](eaaf234b84)
* [Deprecate `retweeters_count` in favor of `retweet_count`](ea39bd0133)
* [Deprecate `favorites_count`/`favoriters_count` in favor of `favorite_count`](ea39bd0133)
* [Deprecate `to_hash`/`to_hsh` in favor of `to_h` or `attrs`](63e2cdd693)
* [Deprecate `oauth_token` and `oauth_token_secret` accessors](ac24671755)
2014-06-01 16:51:49 +00:00
wiz
1ac2942de3 Update reference to font installation path. 2014-06-01 16:49:24 +00:00
wiz
2e6d566acf Update reference to font installation path. Bump PKGREVISION. 2014-06-01 16:48:50 +00:00
wiz
3d8103bef9 Install fonts into default installation path. Bump PKGREVISION. 2014-06-01 16:48:31 +00:00
wiz
0a07ed33cb Update reference to font installation path. Bump PKGREVISION. 2014-06-01 16:45:35 +00:00
wiz
f17626244c Install fonts into default font path. Bump PKGREVISION. 2014-06-01 16:44:38 +00:00
wiz
eccf9f10e8 regen 2014-06-01 16:44:11 +00:00
tsutsui
a21bb37c33 Remove extra "@pkgdir lib/ruby/gems/2.0.0/build_info" line.
Something should be adjusted in "make print-PLIST" target?
2014-06-01 16:43:37 +00:00
wiz
2b726688d9 Update default font installation path. 2014-06-01 16:42:45 +00:00
wiz
479f91ff69 Adapt paths for font installation changes. Bump PKGREVISION. 2014-06-01 16:39:22 +00:00
wiz
52516992cb Adapt to kochi-ttf font installation path change. Bump PKGREVISION. 2014-06-01 16:37:16 +00:00
tsutsui
e01ab80c22 Update ruby-http to 0.6.1.
Changes noted in Changes.md:

0.6.1 (2014-05-07)
------------------

* Fix request `Content-Length` calculation for Unicode (@challengeechallengee)
* Add `Response#flush` (@ixti)
* Fix `Response::Body#readpartial` default size (@hannesg, @ixti)
* Add missing `CRLF` for chunked bodies (@hannesg)
* Fix forgotten CGI require (@ixti)
* Improve README (@tarcieri)

0.6.0 (2014-04-04)
------------------

* Rename `HTTP::Request#method` to `HTTP::Request#verb` (@krainboltgreene)
* Add `HTTP::ResponseBody` class (@tarcieri)
* Change API of response on `HTTP::Client.request` and "friends" (`#get`, `#post`, etc) (@tarcieri)
* Add `HTTP::Response#readpartial` (@tarcieri)
* Add `HTTP::Headers` class (@ixti)
* Fix and improve following redirects (@ixti)
* Add `HTTP::Request#redirect` (@ixti)
* Add `HTTP::Response#content_type` (@ixti)
* Add `HTTP::Response#mime_type` (@ixti)
* Add `HTTP::Response#charset` (@ixti)
* Improve error message upon invalid URI scheme (@ixti)
* Consolidate errors under common `HTTP::Error` namespace (@ixti)
* Add easy way of adding Authorization header (@ixti)
* Fix proxy support (@hundredwatt)
* Fix and improve query params handing (@jwinter)
* Change API of custom MIME type parsers (@ixti)
* Remove `HTTP::Chainable#with_response` (@ixti)
* Remove `HTTP::Response::BodyDelegator` (@ixti)
* Remove `HTTP::Response#parsed_body` (@ixti)
* Bump up input buffer from 4K to 16K (@tarcieri)

(Note version 0.5.1 is a maintenance branch and released after 0.6.1)
2014-06-01 16:36:48 +00:00
wiz
1adfb71852 Move fonts from lib/X11/fonts to share/fonts/X11.
As discussed on tech-pkg.

Bump PKGREVISION.
2014-06-01 16:35:31 +00:00
tsutsui
e01d1f5111 Updated misc/ruby-parallel to 1.0.0 2014-06-01 16:25:14 +00:00
tsutsui
7527cc5ea7 Update ruby-parallel to 1.0.0.
No changelog file, but looks cleanup and minor tweaks only per github.
2014-06-01 16:16:25 +00:00