wiki:SummerOfCode2014_pypi2port

Version 5 (modified by gaurav@…, 10 years ago) (diff)

--

Roadmap

Week # 0

  • Created wiki page for project and self
  • Added project to GSoC 2014 project page
  • Got acquainted with Portfile development.

Week # 1

(19/05/2014 - 25/05/2014)

  • Basic tester script which parses arguments
  • Fetches data from XmlRpc API of pypi.
  • File upstream bugs for instances where description and download_url not present.

Week # 2

(26/05/2014 - 01/06/2014)

  • Tester script able to search for python packages by the name classifier.
  • Tester script able to fetch and extract distfiles to ./sources.
  • Tester script able to pull release data from pypi.

Week # 3

(02/06/2014 - 08/06/2014)

  • Created portfile taking portfile-gen as the base script for generating portfiles.
  • Tried fetching fata from previous versions which might help in fetching more data.
  • Made an analysis of the data fetched from previous versions.
  • Made python as the first choice of category for all packages.
  • Generated checksums for packages using openssl.
  • Created functions that run port lint, fetch, checksum and extract on ./python/$name_package.

Week # 4

(09/06/2014 - 15/06/2014)

  • Generated portfiles for some selected packages by the tester script.
  • Looked for some help on fetching distfiles from yolk
  • Made setuptools a build dependency for all packages.
  • Read python-1.0.tcl to have a look at what Python portgroup does.
  • Added support for dependencies based on the .egg files and .whl files listed.
  • Generalised naming to pyXX-<pypi-name>.

Week # 5

(16/06/2014 - 22/06/2014)

  • Fixed various portfile formatting and wrapping errors.
  • Made master_site to master_directory.
  • Fixed destroot phase.
  • Fixed long_description to remove characters which are not as per the utf-8 encoding.
  • Fixed a large bug regarding the portfile formatting which later on resulted in successful portindex.

Week # 6

(23/06/2014 - 29/06/2014)

* MID-TERM EVALUATIONS *

  • Portindex successful for approximately 70% of the packages.
  • Portfile formatting and wrapping errors taken care of to some extent.
  • Basic portfile available for most of the packages which can be worked upon.

Week # 7

(30/06/2014 - 05/07/2014)

ToDo for week 7

I'd recommend doing destroot tests again with trace (port -t). This will help catch unmarked dependencies that might already be available on the system.

Also, a list of ports who cannot make it to destroot should be identified for further investigation.

Week # 8

(06/07/2014 - 12/07/2014)

ToDo for week 8

Week # 9

(13/07/2014 - 19/07/2014)

ToDo for week 9

Week # 10

(20/07/2014 - 26/07/2014)

ToDo for week 10

Week # 11

(27/07/2014 - 02/08/2014)

ToDo for week 11

Week # 12

(03/08/2014 - 09/08/2014)

ToDo for week 12

Week # 13

(10/08/2014 - 16/08/2014)

ToDo for week 13

Note

  • If we can use pip to fetch and extract the data we should probably move the portfile and port commands to after we have collect as much data as possible to be able to write the best portfile.