FreshPorts -- The Place For Ports notbugIf you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

Port details
py-django-transaction-hooks Django database backends to register transaction-commit hooks
0.2_1 databases 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: rene@FreeBSD.org search for ports maintained by this maintainer
Port Added: 08 Dec 2015 20:21:21
Also Listed In: python
License: BSD3CLAUSE
A better alternative to the native transaction signals of Django.

Sometimes you need to fire off an action related to the current database
transaction, but only if the transaction successfully commits. Examples:
a Celery task, an email notification, or a cache invalidation.

Doing this correctly while accounting for savepoints that might be
individually rolled back, closed/dropped connections, and idiosyncrasies of
various databases, is non-trivial. Transaction signals just make it easier
to do it wrong.

django-transaction-hooks does the heavy lifting so you don't have to.

WWW: https://github.com/carljm/django-transaction-hooks
SVNWeb : Homepage : PortsMon
There is no configure plist information for this port

To install the port: cd /usr/ports/databases/py-django-transaction-hooks/ && make install clean
To add the package: pkg install py27-django-transaction-hooks

PKGNAME: py27-django-transaction-hooks

distinfo:

SHA256 (django-transaction-hooks-0.2.tar.gz) = 51bab09547fab673a24d6c59f1df560183b3a49f24a7a5bf35e7eb34ef939e79
SIZE (django-transaction-hooks-0.2.tar.gz) = 7527


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-django18>=1.6.1 : www/py-django18@py27
  2. py27-setuptools>0 : devel/py-setuptools@py27
  3. python2.7 : lang/python27
There are no ports dependent upon this port

Configuration Options
     No options to configure

USES:
python

Master Sites:
  1. https://files.pythonhosted.org/packages/source/d/django-transaction-hooks/
  2. https://pypi.python.org/packages/source/d/django-transaction-hooks/
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: 6

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
30 Nov 2017 15:50:34
Original commit files touched by this commit  0.2_1
Revision:455210  Sanity Test Failure
mat search for other commits by this committer
Convert Python ports to FLAVORS.

  Ports using USE_PYTHON=distutils are now flavored.  They will
  automatically get flavors (py27, py34, py35, py36) depending on what
  versions they support.

  There is also a USE_PYTHON=flavors for ports that do not use distutils
  but need FLAVORS to be set.  A USE_PYTHON=noflavors can be set if
  using distutils but flavors are not wanted.

  A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
  added to cope with Python ports that did not have the Python
  PKGNAMEPREFIX but are flavored.

  USES=python now also exports a PY_FLAVOR variable that contains the
(Only the first 15 lines of the commit message are shown above View all of this commit message)
25 Jun 2017 15:03:55
Original commit files touched by this commit  0.2_1
Revision:444292
sunpoet search for other commits by this committer
Fix WWW

Approved by:	portmgr (blanket)
01 Apr 2016 14:00:57
Original commit files touched by this commit  0.2_1
Revision:412346
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.

With hat:	portmgr
Sponsored by:	Absolight
16 Jan 2016 11:19:09
Original commit files touched by this commit  0.2_1
Revision:406208
miwi search for other commits by this committer
- Switch forgotten ports over to py-django18
- Fix PYTHON_PKGNAMEPREFIX

Reported by:    antoinebot
25 Dec 2015 07:04:07
Original commit files touched by this commit  0.2
Revision:404403
sunpoet search for other commits by this committer
- Update MAINTAINER: use @FreeBSD.org
08 Dec 2015 20:21:14
Original commit files touched by this commit  0.2
Revision:403346
rene search for other commits by this committer
A better alternative to the native transaction signals of Django.

Sometimes you need to fire off an action related to the current database
transaction, but only if the transaction successfully commits. Examples:
a Celery task, an email notification, or a cache invalidation.

Doing this correctly while accounting for savepoints that might be
individually rolled back, closed/dropped connections, and idiosyncrasies of
various databases, is non-trivial. Transaction signals just make it easier
to do it wrong.

django-transaction-hooks does the heavy lifting so you don't have to.

WWW: https://github.com/arljm/django-transaction-hooks/

Number of commits found: 6

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, 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
firefox*Jan 24
firefox-esr*Jan 24
libxul*Jan 24
linux-firefox*Jan 24
linux-seamonkey*Jan 24
linux-thunderbird*Jan 24
seamonkey*Jan 24
thunderbird*Jan 24
waterfox*Jan 24
chromiumJan 23
chromium*Jan 23
chromiumJan 23
chromiumJan 23
powerdns-recursorJan 23
mariadb100-serverJan 19

14 vulnerabilities affecting 139 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities

Last updated:
2018-01-23 23:17:36


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 32675
Broken 129
Deprecated 98
Ignore 369
Forbidden 0
Restricted 172
No CDROM 77
Vulnerable 47
Expired 8
Set to expire 89
Interactive 0
new 24 hours 5
new 48 hours7
new 7 days24
new fortnight1117
new month2021

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