Bug 161665 - [PATCH] databases/py-htsql: improve this port a bit
Summary: [PATCH] databases/py-htsql: improve this port a bit
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Josh Paetzel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-14 20:40 UTC by R.Mahmatkhanov
Modified: 2011-10-15 00:40 UTC (History)
0 users

See Also:


Attachments
file.diff (81.90 KB, patch)
2011-10-14 20:40 UTC, R.Mahmatkhanov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description R.Mahmatkhanov 2011-10-14 20:40:02 UTC
- depend on setuptools via USE_PYDISTUTILS, not explicitly
- drop simplejson dependency. They actually did not use simplejson, nor native
  python json module. They use homebrew json renderer instead, so there is no
  point to depend on simplejson. Someone may check the code itself or needed 
  dependencies in setup.py:
    INSTALL_REQUIRES = [
      'setuptools>=0.6c9',
      'pyyaml>=3.07',
  #   'psycopg2>=2.0.10',
  #   'MySQL-python>=1.2.2',
  #   'cx_Oracle>=5.0',
  #   'pymssql>=1.0.2',
  ]
- fix setup.cfg to make it create egg file where our easy_install expecting to
  find it
- remove PYTHON_VER from PLIST_SUB - easy_install will take car about this
- remove PYDISTUTILLS_NOEGGINFO - info-file now installs
- update pkg-plist according to aforementioned setuptools changes and do not try
  to remove directories that we didn't create.
- bump PORTREVISION


tinderbuild log:
http://host5.webstroy.ru/tb/8.2/py27-htsql-2.2.0b2_1.log

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-10-14 20:40:15 UTC
Responsible Changed
From-To: freebsd-ports-bugs->jpaetzel

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2011-10-15 00:34:38 UTC
jpaetzel    2011-10-14 23:34:28 UTC

  FreeBSD ports repository

  Modified files:
    databases/py-htsql   Makefile pkg-plist 
  Log:
  Various improvements to the port.
  Remove un-needed deps.
  Use ports framework a bit more.
  
  PR:     ports/161665
  Submitted by:   Ruslan Mahmatkhanov <cvs-src@yandex.ru>
  
  Revision  Changes    Path
  1.7       +6 -6      ports/databases/py-htsql/Makefile
  1.7       +526 -528  ports/databases/py-htsql/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Josh Paetzel freebsd_committer freebsd_triage 2011-10-15 00:34:49 UTC
State Changed
From-To: open->closed

committed, thanks!