{ "info": { "author": "Alessandro Amici", "author_email": "a.amici@bopen.eu", "bugtrack_url": null, "classifiers": [ "Framework :: Buildout", "Intended Audience :: Developers", "Programming Language :: Python", "Topic :: Software Development :: Build Tools", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "***********************************************************************\nzc.buildout recipe that parses compile time options from config scripts\n***********************************************************************\n\n.. contents::\n\nThe LibInc recipe can parse CFLAGS, LDFLAGS and other information\ntipically returned by libraries config scripts like gdal-config, libpng-config\nand others. The parsed information can be used by other recipes as\nhexagonit.recipe.cmmi or zc.recipe.egg to make the build process more\nrobust.\n\nThe initial version of this recipe has been written within the PrimaGIS\ntopic of the 2007 Plone Naples Sprint and it is used for the PCL/PrimaGIS\nbuildout.\n\nHome page: http://www.bopen.eu/open-source/bopen.recipe.libinc\n\nCopyright (c) 2007-2010 B-Open Solutions srl (http://bopen.eu). All rights reserved.\n\nDistributed under the terms of the ZPL 2.1 http://www.zope.org/Resources/License/ZPL-2.1\n\n\nDetailed Documentation\n**********************\n\n\nWarning: Work in progress\n=========================\n\nThis zc.buildout recipe is pre-alpha quality.\n\nSupported options\n=================\n\nflags-command\n a list of commands that return the linking options, one per line\n\nExample usage\n=============\n\nWe'll use a simple config command to demonstrate the recipe.\n\n >>> import os.path\n >>> testdata = join(os.path.dirname(__file__), 'testdata')\n >>> ls(testdata)\n - sample-config\n\nThe options are accessible by other recipes:\n\n >>> mkdir(sample_buildout, 'recipes')\n >>> write(sample_buildout, 'recipes', 'echo.py',\n ... \"\"\"\n ... import logging\n ...\n ... class Echo:\n ... def __init__(self, buildout, name, options):\n ... self.name, self.options = name, options\n ...\n ... def install(self):\n ... logging.getLogger(self.name).info(self.options.get('echo', ''))\n ... return ()\n ...\n ... def update(self):\n ... pass\n ... \"\"\")\n\n >>> write(sample_buildout, 'recipes', 'setup.py',\n ... \"\"\"\n ... from setuptools import setup\n ...\n ... setup(\n ... name = \"recipes\",\n ... entry_points = {'zc.buildout': ['echo= echo:Echo']},\n ... )\n ... \"\"\")\n\nLet's create a buildout to build and install the package.\n\n >>> write(sample_buildout, 'buildout.cfg',\n ... \"\"\"\n ... [buildout]\n ... develop = recipes\n ... parts = package\n ...\n ... [package]\n ... recipe = recipes:echo\n ... echo =\n ... include-dirs: ${config-package:include-dirs}\n ... library-dirs: ${config-package:library-dirs}\n ... libraries: ${config-package:libraries}\n ... cflags: ${config-package:cflags}\n ... ldflags: ${config-package:ldflags}\n ...\n ... [config-package]\n ... recipe = bopen.recipe.libinc\n ... flags-command =\n ... %(testdata)s/sample-config --cflags\n ... %(testdata)s/sample-config --libs\n ... %(testdata)s/sample-config --version\n ... include-dirs = /usr/include/mysample\n ... library-dirs = /usr/lib/mysample\n ... libraries = mysample\n ... \"\"\" % {'testdata': testdata})\n\n\n >>> print system(buildout + ' -N')\n Develop: ...\n config-package: .../testdata/sample-config --cflags -> -I/usr/include -I/usr/include/sample\n config-package: .../testdata/sample-config --libs -> -L/usr/lib -L/usr/lib/sample -lsample -lsample_rt\n config-package: .../testdata/sample-config --version -> 1.0\n config-package: \n include-dirs: /usr/include /usr/include/sample /usr/include/mysample\n library-dirs: /usr/lib /usr/lib/sample /usr/lib/mysample\n libraries: sample sample_rt mysample\n cflags: -I/usr/include -I/usr/include/sample -I/usr/include/mysample\n ldflags: -L/usr/lib -L/usr/lib/sample -L/usr/lib/mysample -lsample -lsample_rt -lmysample\n Installing config-package.\n Installing package.\n package:\n include-dirs: /usr/include /usr/include/sample /usr/include/mysample\n library-dirs: /usr/lib /usr/lib/sample /usr/lib/mysample\n libraries: sample sample_rt mysample\n cflags: -I/usr/include -I/usr/include/sample -I/usr/include/mysample\n ldflags: -L/usr/lib -L/usr/lib/sample -L/usr/lib/mysample -lsample -lsample_rt -lmysample", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.bopen.eu/open-source/bopen.recipe.libinc", "keywords": "development buildout recipe", "license": "ZPL", "maintainer": null, "maintainer_email": null, "name": "bopen.recipe.libinc", "package_url": "https://pypi.org/project/bopen.recipe.libinc/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/bopen.recipe.libinc/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://www.bopen.eu/open-source/bopen.recipe.libinc" }, "release_url": "https://pypi.org/project/bopen.recipe.libinc/0.3.0/", "requires_dist": null, "requires_python": null, "summary": "zc.buildout recipe that parses compile time options from config scripts", "version": "0.3.0" }, "last_serial": 786978, "releases": { "0.2.1": [ { "comment_text": "", "digests": { "md5": "70ed5b5bfabee42255ac24b2b635b5c5", "sha256": "a9da9355806dba14fae2f084774ec8fe3ff16137784a775d01e2433c9d49aa81" }, "downloads": -1, "filename": "bopen.recipe.libinc-0.2.1-py2.4.egg", "has_sig": false, "md5_digest": "70ed5b5bfabee42255ac24b2b635b5c5", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 9007, "upload_time": "2007-10-15T12:10:06", "url": "https://files.pythonhosted.org/packages/45/cb/c3e51bc720dcc8ffa4863a379bc98f0625ba8a3aad48f1483614c37cf425/bopen.recipe.libinc-0.2.1-py2.4.egg" }, { "comment_text": "", "digests": { "md5": "6ff0224b3a3bdaa1d3b50c14a9c1a2a5", "sha256": "703f1c31fc9f2eb308d50bebeed3e14eda309ca349ca975a191f2ffcf4309266" }, "downloads": -1, "filename": "bopen.recipe.libinc-0.2.1.tar.gz", "has_sig": false, "md5_digest": "6ff0224b3a3bdaa1d3b50c14a9c1a2a5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4483, "upload_time": "2007-10-15T12:10:06", "url": "https://files.pythonhosted.org/packages/1a/44/522fddc27d8fe6a7e6d0fc7b354b35b5d62b58e11b03f368227a1b89b5fd/bopen.recipe.libinc-0.2.1.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "f55f67f25a3e245025c6b84d9962fca4", "sha256": "c1e64d9de74d3e79a8de92910f08454d5fd82190b697417fdd7ebd1b5bb5d767" }, "downloads": -1, "filename": "bopen.recipe.libinc-0.3.0-py2.4.egg", "has_sig": false, "md5_digest": "f55f67f25a3e245025c6b84d9962fca4", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 9125, "upload_time": "2010-09-07T16:48:47", "url": "https://files.pythonhosted.org/packages/9e/0e/52378ef39a21fb5c69f90f90c939b04f468d6518f1cf42a5f6e711e0ba3c/bopen.recipe.libinc-0.3.0-py2.4.egg" }, { "comment_text": "", "digests": { "md5": "7c863f9ea0a8d548e84d3c4bb1d45d71", "sha256": "3de06856db28b4a4ccf6a6b4fdae7061ce8bb85809a04bfc8c1179586eb01ec1" }, "downloads": -1, "filename": "bopen.recipe.libinc-0.3.0-py2.5.egg", "has_sig": false, "md5_digest": "7c863f9ea0a8d548e84d3c4bb1d45d71", "packagetype": "bdist_egg", "python_version": "2.5", "requires_python": null, "size": 9162, "upload_time": "2010-09-07T16:48:42", "url": "https://files.pythonhosted.org/packages/fc/84/1828e9306c2a31dac8567d5059c14de785d59afc327ee77db0a50b4ef878/bopen.recipe.libinc-0.3.0-py2.5.egg" }, { "comment_text": "", "digests": { "md5": "beea7653fea3743f6cc18d4008d95fb4", "sha256": "8c56b9d1e902db1e495de2a732a3a693d50cc1259211dad1db6b9b10a7a03eed" }, "downloads": -1, "filename": "bopen.recipe.libinc-0.3.0-py2.6.egg", "has_sig": false, "md5_digest": "beea7653fea3743f6cc18d4008d95fb4", "packagetype": "bdist_egg", "python_version": "2.6", "requires_python": null, "size": 9185, "upload_time": "2010-09-07T16:48:35", "url": "https://files.pythonhosted.org/packages/b8/ca/ab8a80301546829243bb7a6f4c289d660b453f070564381da7884ac2ab5b/bopen.recipe.libinc-0.3.0-py2.6.egg" }, { "comment_text": "", "digests": { "md5": "68d1d8f856f061ec5935f0471d310826", "sha256": "734d2850813300d932c75d4b37c8f3307be6771325d83208de1b9b20b44aa24d" }, "downloads": -1, "filename": "bopen.recipe.libinc-0.3.0.tar.gz", "has_sig": false, "md5_digest": "68d1d8f856f061ec5935f0471d310826", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4742, "upload_time": "2010-09-07T16:48:35", "url": "https://files.pythonhosted.org/packages/f0/bc/830459aa14eb5c673c055f95a65426b61c9591a7ad8de1037b704c98e558/bopen.recipe.libinc-0.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f55f67f25a3e245025c6b84d9962fca4", "sha256": "c1e64d9de74d3e79a8de92910f08454d5fd82190b697417fdd7ebd1b5bb5d767" }, "downloads": -1, "filename": "bopen.recipe.libinc-0.3.0-py2.4.egg", "has_sig": false, "md5_digest": "f55f67f25a3e245025c6b84d9962fca4", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 9125, "upload_time": "2010-09-07T16:48:47", "url": "https://files.pythonhosted.org/packages/9e/0e/52378ef39a21fb5c69f90f90c939b04f468d6518f1cf42a5f6e711e0ba3c/bopen.recipe.libinc-0.3.0-py2.4.egg" }, { "comment_text": "", "digests": { "md5": "7c863f9ea0a8d548e84d3c4bb1d45d71", "sha256": "3de06856db28b4a4ccf6a6b4fdae7061ce8bb85809a04bfc8c1179586eb01ec1" }, "downloads": -1, "filename": "bopen.recipe.libinc-0.3.0-py2.5.egg", "has_sig": false, "md5_digest": "7c863f9ea0a8d548e84d3c4bb1d45d71", "packagetype": "bdist_egg", "python_version": "2.5", "requires_python": null, "size": 9162, "upload_time": "2010-09-07T16:48:42", "url": "https://files.pythonhosted.org/packages/fc/84/1828e9306c2a31dac8567d5059c14de785d59afc327ee77db0a50b4ef878/bopen.recipe.libinc-0.3.0-py2.5.egg" }, { "comment_text": "", "digests": { "md5": "beea7653fea3743f6cc18d4008d95fb4", "sha256": "8c56b9d1e902db1e495de2a732a3a693d50cc1259211dad1db6b9b10a7a03eed" }, "downloads": -1, "filename": "bopen.recipe.libinc-0.3.0-py2.6.egg", "has_sig": false, "md5_digest": "beea7653fea3743f6cc18d4008d95fb4", "packagetype": "bdist_egg", "python_version": "2.6", "requires_python": null, "size": 9185, "upload_time": "2010-09-07T16:48:35", "url": "https://files.pythonhosted.org/packages/b8/ca/ab8a80301546829243bb7a6f4c289d660b453f070564381da7884ac2ab5b/bopen.recipe.libinc-0.3.0-py2.6.egg" }, { "comment_text": "", "digests": { "md5": "68d1d8f856f061ec5935f0471d310826", "sha256": "734d2850813300d932c75d4b37c8f3307be6771325d83208de1b9b20b44aa24d" }, "downloads": -1, "filename": "bopen.recipe.libinc-0.3.0.tar.gz", "has_sig": false, "md5_digest": "68d1d8f856f061ec5935f0471d310826", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4742, "upload_time": "2010-09-07T16:48:35", "url": "https://files.pythonhosted.org/packages/f0/bc/830459aa14eb5c673c055f95a65426b61c9591a7ad8de1037b704c98e558/bopen.recipe.libinc-0.3.0.tar.gz" } ] }