{ "info": { "author": "gocept gmbh & co. kg", "author_email": "mail@gocept.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Framework :: Buildout", "Framework :: Buildout :: Recipe", "Intended Audience :: Developers", "License :: OSI Approved", "License :: OSI Approved :: Zope Public License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 2 :: Only", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Software Development :: Build Tools" ], "description": "================================\ngocept.recipe.bowerstaticbundler\n================================\n\nBundling and minifying components included via bowerstatic_.\n\nThis recipe imports you bowerstatic components, which you must specify in the\nrecipes config (see below for details). It then retrieves your local components,\ncalculates the import order and minifies and bundles JS and CSS files. The\nbundles are saved to your ``bower_components`` folder (or whatever folder you\nspecified) as a new component called ``bowerstatic_bundle``.\n\nIn your application you can then switch between bundled or non-bundled versions\nwith an include helper function::\n\n def bower_include(environ, name):\n if not os.environ.get('BOWERSTATIC_DEBUG'):\n name = 'bowerstatic_bundle'\n include = components.includer(environ)\n include(name)\n\nIn your view, where you normally get the includer and include your libraries,\nyou now call::\n\n bower_include(self.request.environ, '')\n\nThis package uses rcssmin_ and rjsmin_ to minify CSS and JS files.\n\n\nConfiguration\n=============\n\nHere is an example configuration for ``bowerstaticbundler``::\n\n [buildout]\n parts += bundle\n\n [bundle]\n recipe = gocept.recipe.bowerstaticbundler\n eggs = mypackage\n myotherpackage\n modules = mypackage.browser.resource\n myotherpackage.browser.resource\n bower = mypackage.bower\n target_dir = ${config:bower_components}\n environment = bundle-config\n\n [bundle-config]\n BOWER_COMPONENTS_DIR = ${config:bower_components}\n\nYou need to specify the location of your local components via the ``eggs`` and\n``modules`` options. Eggs is needed to import your modules, where the components\nlive, while modules specify the path to import them directly. This is needed as\nbower calculates the components and resources during import time, so we need to\ntrigger them in the build step.\n\nYou also must provide the location of you bower singleton via the ``bower``\noption.\n\n``target_dir`` specifies the directory, where the bundled component will be\nplaced. It is recommended to point this to your `bower_components` folder, where\nyour bower packages live, as bowerstatic_ will have to import the bundles as\nwell in order to be able to include them into your Application.\n\nWith the ``environment`` option you can specify environment variables. In the\nexample above we specify one environment variable called\n``BOWER_COMPONENTS_DIR``, which is the variable bower is looking for in the\nenvironment to get the installed bower packages. This might be different in your\nsetup.\n\n.. _bowerstatic: http://bowerstatic.readthedocs.org/\n.. _rcssmin: http://opensource.perlig.de/rcssmin/\n.. _rjsmin: http://opensource.perlig.de/rjsmin/\n\n\n=======\nCHANGES\n=======\n\n1.2.2 (2015-01-30)\n==================\n\n- Support for multiple local components.\n\n\n1.2.1 (2015-01-14)\n==================\n\n- Also copy images into the bundle dir, which will be rendered as the fav icon.\n\n- Make generated .bower.json file more readable by adding newlines and indent.\n\n- When copying resources, create a separate directory for each package to\n reduce probability of name clashes.\n\n\n1.2.0 (2015-01-13)\n==================\n\n- Copy all template files into the bundle dir, rather building one huge\n bundle.pt template\n\n\n1.1.1 (2015-01-12)\n==================\n\n- Prevent error on update if `bowerstatic_bundle` directory is missing.\n\n\n1.1 (2015-01-12)\n================\n\n- Symlink additional resources references in CSS files (images, fonts, \u2026) into\n the bundle and point minified CSS to these symlinks.\n\n\n1.0.2 (2015-01-08)\n==================\n\n- Fixed handling of the ``pkg_resources`` working set when collecting\n resources from eggs.\n\n- Make sure recipe does not brake when there are no resources to bundle.\n\n\n1.0.1 (2014-09-20)\n==================\n\n- Repair homepage url in setup.py.\n\n\n1.0.0 (2014-09-20)\n==================\n\n- Initial release.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://bitbucket.org/gocept/gocept.recipe.bowerstaticbundler", "keywords": "bower bowerstatic minify bundle css js javascript buildout recipe", "license": "GPL", "maintainer": null, "maintainer_email": null, "name": "gocept.recipe.bowerstaticbundler", "package_url": "https://pypi.org/project/gocept.recipe.bowerstaticbundler/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/gocept.recipe.bowerstaticbundler/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://bitbucket.org/gocept/gocept.recipe.bowerstaticbundler" }, "release_url": "https://pypi.org/project/gocept.recipe.bowerstaticbundler/1.2.2/", "requires_dist": null, "requires_python": null, "summary": "Minifies and bundles JS and CSS files included with bowerstatic.", "version": "1.2.2" }, "last_serial": 1737679, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "ad35a8831f5640eab9e83728f6f3d909", "sha256": "4b156f691e048bcb8b2d4760963cdef3d84bd341abb4abc349b84db69e26eb7d" }, "downloads": -1, "filename": "gocept.recipe.bowerstaticbundler-1.0.0.zip", "has_sig": false, "md5_digest": "ad35a8831f5640eab9e83728f6f3d909", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11700, "upload_time": "2014-09-20T13:34:06", "url": "https://files.pythonhosted.org/packages/8a/7c/3662a874cd91a23a181ec4f39db0f37aa0fc92f632f0dd6e01335b73ffa4/gocept.recipe.bowerstaticbundler-1.0.0.zip" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "159de02f874d6e29271f4fc879b0e586", "sha256": "71268adee03f2271768a3c95e307d64f2c814a9d82ea01d0983765ccb4244217" }, "downloads": -1, "filename": "gocept.recipe.bowerstaticbundler-1.0.1.zip", "has_sig": false, "md5_digest": "159de02f874d6e29271f4fc879b0e586", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12062, "upload_time": "2014-09-20T13:37:20", "url": "https://files.pythonhosted.org/packages/cb/58/b7b289eed6f31ba66debfa287b10723a22e010d46fca2f003ba6b50714d4/gocept.recipe.bowerstaticbundler-1.0.1.zip" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "77065dcd30d9f034aa4a493f86ca6cce", "sha256": "16db0f34dff350d8a2458d3ae68af7c4bc5b23c181d0c208ddca927b9713dd84" }, "downloads": -1, "filename": "gocept.recipe.bowerstaticbundler-1.0.2.zip", "has_sig": false, "md5_digest": "77065dcd30d9f034aa4a493f86ca6cce", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12601, "upload_time": "2015-01-08T15:43:12", "url": "https://files.pythonhosted.org/packages/4a/e7/5eb395c85897e3385e425052f9e2abc4c49853c9ac1615df361dafee3034/gocept.recipe.bowerstaticbundler-1.0.2.zip" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "d1081686475341a7ab7b96243873be20", "sha256": "3026abea984a1494b9aaeff2cc453ca76403f89fa3eb2dd0be8329b696abe66c" }, "downloads": -1, "filename": "gocept.recipe.bowerstaticbundler-1.1.zip", "has_sig": false, "md5_digest": "d1081686475341a7ab7b96243873be20", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13152, "upload_time": "2015-01-12T10:45:44", "url": "https://files.pythonhosted.org/packages/6c/4d/200e245342a239cd848642ac072d5a0b612d94e3995f939bd342a2b267af/gocept.recipe.bowerstaticbundler-1.1.zip" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "c75e7334d6b036f6b41ce299a989a243", "sha256": "b2dd7e5e0bdd537591395ae7f913b0e02818f28c7541408ab6fa91589cac904a" }, "downloads": -1, "filename": "gocept.recipe.bowerstaticbundler-1.1.1.zip", "has_sig": false, "md5_digest": "c75e7334d6b036f6b41ce299a989a243", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13389, "upload_time": "2015-01-12T12:31:25", "url": "https://files.pythonhosted.org/packages/5b/21/46775d8febde818a6ef0a2eb84d297f46179c81461e40c3363f874728b4e/gocept.recipe.bowerstaticbundler-1.1.1.zip" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "95e8a1dfdd05029f745d490b0d637087", "sha256": "537b8c86b1b0531c7d317b75053209cf7cca46d29538d09a53e10b7af7d0dd71" }, "downloads": -1, "filename": "gocept.recipe.bowerstaticbundler-1.2.0.zip", "has_sig": false, "md5_digest": "95e8a1dfdd05029f745d490b0d637087", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13791, "upload_time": "2015-01-13T16:07:10", "url": "https://files.pythonhosted.org/packages/31/f8/9aad821849748cf4c434c5c7d9db45f14f7ae894c8f01242e4a8b66444f6/gocept.recipe.bowerstaticbundler-1.2.0.zip" } ], "1.2.1": [ { "comment_text": "", "digests": { "md5": "4a417c69d054225203785a88a33ee711", "sha256": "9d1c92e4a514437d364c0a602d33d1bdf647c51b809c489915d82c25aefefd8a" }, "downloads": -1, "filename": "gocept.recipe.bowerstaticbundler-1.2.1.zip", "has_sig": false, "md5_digest": "4a417c69d054225203785a88a33ee711", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14453, "upload_time": "2015-01-14T07:30:02", "url": "https://files.pythonhosted.org/packages/15/cc/a28e671db718bfdea0e063aba10f83af21e19f2561e6d6acad15ab15ed05/gocept.recipe.bowerstaticbundler-1.2.1.zip" } ], "1.2.2": [ { "comment_text": "", "digests": { "md5": "de6c19a82e9bba52a75e03bfdb698d45", "sha256": "cbf2957474ca5fff8e3beb8e3e0c82a6b9d2d1ccf13a53164aa910d0f9a51b5b" }, "downloads": -1, "filename": "gocept.recipe.bowerstaticbundler-1.2.2.zip", "has_sig": false, "md5_digest": "de6c19a82e9bba52a75e03bfdb698d45", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14587, "upload_time": "2015-01-30T15:43:46", "url": "https://files.pythonhosted.org/packages/ca/cf/c1cd2fb6d4bf54abd743d9baf6b112837b032004c0e2a684887a84e67e72/gocept.recipe.bowerstaticbundler-1.2.2.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "de6c19a82e9bba52a75e03bfdb698d45", "sha256": "cbf2957474ca5fff8e3beb8e3e0c82a6b9d2d1ccf13a53164aa910d0f9a51b5b" }, "downloads": -1, "filename": "gocept.recipe.bowerstaticbundler-1.2.2.zip", "has_sig": false, "md5_digest": "de6c19a82e9bba52a75e03bfdb698d45", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14587, "upload_time": "2015-01-30T15:43:46", "url": "https://files.pythonhosted.org/packages/ca/cf/c1cd2fb6d4bf54abd743d9baf6b112837b032004c0e2a684887a84e67e72/gocept.recipe.bowerstaticbundler-1.2.2.zip" } ] }