notbugIf you buy from Amazon USA, please support us by using this link.
Port details
py-patch Cross-platform alternative to the UNIX patch utility
1.16 devel on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port
Maintainer: kai@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2018-07-28 12:16:46
Last Update: 2019-02-01 18:55:18
SVN Revision: 491837
Also Listed In: python
License: MIT
Python library to parse and apply unified diffs.

Features:

- Automatic correction of
    * Linefeeds according to patched file
    * Diffs broken by stripping trailing whitespace
    * a/ and b/ prefixes
- Single file, which is a command line tool and a library
- No dependencies outside Python stdlib
- Patch format detection (SVN, HG, GIT)
- Nice diffstat histogram

Things that don't work out of the box:

- File renaming, creation and removal
- Directory tree operations
- Version control specific properties
- Non-unified diff formats

WWW: https://github.com/techtonik/python-patch
SVNWeb : Homepage

There is no configure plist information for this port.

Dependency lines:
  • py27-patch>0:devel/py-patch

To install the port: cd /usr/ports/devel/py-patch/ && make install clean
To add the package: pkg install py27-patch

PKGNAME: py27-patch

Package flavors (<flavor>: <package>)
  • py27: py27-patch
  • py36: py36-patch

distinfo:

TIMESTAMP = 1530195203
SHA256 (patch-1.16.zip) = c62073f356cff054c8ac24496f1a3d7cfa137835c31e9af39a9f5292fd75bd9f
SIZE (patch-1.16.zip) = 12809


NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Build dependencies:
  1. py27-setuptools>0 : devel/py-setuptools@py27
  2. python2.7 : lang/python27
Runtime dependencies:
  1. py27-setuptools>0 : devel/py-setuptools@py27
  2. python2.7 : lang/python27

This port is required by:

for Run
Configuration Options
     No options to configure

USES:
python zip

Master Sites:
  1. https://files.pythonhosted.org/packages/source/p/patch/
  2. https://pypi.org/packages/source/p/patch/
Notes from UPDATING
These upgrade notes are taken from /usr/ports/UPDATING
  • 2017-11-30
    Affects: */py*
    Author: mat@FreeBSD.org
    Reason: 
      Ports using Python via USES=python are now flavored.  All the py3-* ports
      have been removed and folded into their py-* master ports.
    
      People using Poudriere 3.2+ and binary packages do not have to do anything.
    
      For other people, to build the Python 3.6 version of, for example,
      databases/py-gdbm, you need to run:
    
        # make FLAVOR=py36 install
    
    

Number of commits found: 2

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
01 Feb 2019 18:55:18
Original commit files touched by this commit  1.16
Revision:491837
kai search for other commits by this committer
Change my maintainer email address to my new one at the FreeBSD project.

Reviewed by:	miwi (mentor)
Approved by:	miwi (mentor)
Differential Revision: https://reviews.freebsd.org/D19050
28 Jul 2018 12:16:30
Original commit files touched by this commit  1.16
Revision:475542
miwi search for other commits by this committer
Python library to parse and apply unified diffs.

Features:

- Automatic correction of
    * Linefeeds according to patched file
    * Diffs broken by stripping trailing whitespace
    * a/ and b/ prefixes
- Single file, which is a command line tool and a library
- No dependencies outside Python stdlib
- Patch format detection (SVN, HG, GIT)
- Nice diffstat histogram

Things that don't work out of the box:

- File renaming, creation and removal
- Directory tree operations
- Version control specific properties
- Non-unified diff formats

WWW: https://github.com/techtonik/python-patch

PR:		229500
Submitted by:	freebsd_ports@k-worx.org
Sponsored by:	iXsystems Inc.

Number of commits found: 2

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, iXsystems, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
gnutlsApr 19
dovecotApr 18
libssh2Apr 18
giteaApr 17
mariadb101-serverApr 13
mariadb102-serverApr 13
mariadb103-serverApr 13
mariadb55-serverApr 13
mysql56-serverApr 13
mysql57-serverApr 13
mysql80-serverApr 13
percona55-serverApr 13
percona56-serverApr 13
percona57-serverApr 13
wgetApr 12

11 vulnerabilities affecting 132 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities

Last updated:
2019-04-19 15:43:25


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 36749
Broken 122
Deprecated 656
Ignore 343
Forbidden 3
Restricted 164
No CDROM 74
Vulnerable 36
Expired 512
Set to expire 631
Interactive 0
new 24 hours 27
new 48 hours32
new 7 days57
new fortnight77
new month147

Servers and bandwidth provided by
New York Internet, iXsystems, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2019 Dan Langille. All rights reserved.